1328 |
file @file{~/.profile}. The standard Bourne shell does not understand |
file @file{~/.profile}. The standard Bourne shell does not understand |
1329 |
this syntax and will emit a syntax error when it reaches this line. |
this syntax and will emit a syntax error when it reaches this line. |
1330 |
|
|
1331 |
|
Another example is the tilde (@code{~}) character, say when adding |
1332 |
|
@file{~/bin} to @code{$PATH}. Many Bourne shells will not expand this |
1333 |
|
character, and since there is usually no directory whose name consists |
1334 |
|
of the single character tilde, strange things will happen. |
1335 |
|
|
1336 |
What can you do about this? |
What can you do about this? |
1337 |
|
|
1338 |
Well, one possibility is to make sure that everything in @file{~/.shrc} |
Well, one possibility is to make sure that everything in @file{~/.shrc} |