How to store a blank in a /bin/sh variable? [solution found]
Dave Sherman
dave at utcsrgv.UUCP
Thu Jul 26 22:43:46 AEST 1984
In article <4962 at utcsrgv.UUCP> dave at utcsrgv.UUCP (Dave Sherman) writes:
~| I am using sh, and type from the terminal
~| rn -foo -bar -bletch "-F~| "
~|
~| and this works fine....
~| Problem: how do I store the above string in shell variable R in
~| my .profile, so I can type $R and invoke rn with the flags I want?
What I needed was:
R='eval rn -foo -bar -bletch "-F~| "'
which works (as you can see above). Thanks to utai!rayan for the
solution. I'll cancel the original article but post this, since I
think the answer is of some interest to people.
Dave Sherman
Toronto
--
{allegra,cornell,decvax,ihnp4,linus,utzoo}!utcsrgv!dave
More information about the Comp.unix
mailing list