Help with strings in Bourne shell
R. L. Welsh
rikki at macom1.UUCP
Fri Apr 28 00:25:20 AEST 1989
> Jim Rudolf <rudolf at oce.orst.edu> writes:
...
>> However, I want to read from stdin (or maybe a redirected pipe), and I
>> can't get it to work no matter what strange combination of quotes I use!
>> I would like to do something like:
>> read args
>> for i in $args
Try:
\"x = value\"
This worked for me -- you need to get the " passed to the for line.
--
- Rikki (UUCP: grebyn!macom1!rikki)
More information about the Comp.unix.questions
mailing list