Quote:
Originally Posted by ocicat
Try it, & report back the results.
|
After booting OpenBSD 4.6 on the other machine (to get ksh) it did what I expected:
a) the first line changes the prompt to the desired value
b) the second line puts some junk at the end of ~/.profile
In vi the junk looks like \d, a TAB, a couple of spaces and then [\w]#
which is not something the shell can understand.
c) logging in again with the new appendage on ~/.profile, the shell complains:
Quote:
Originally Posted by ksh
ksh: /home/myuserid/.profile[7]: d: not found
|
IOW it is looking for and not finding a command called d, which was invoked by the \d .
What am i missing?