> This is also fine, a b and c are just two fields when they
> enter echo but they leave the appear to be 3 seperate words.
>
> hugo% s=`{echo '''a b''' c}
> hugo% echo $#s $s(1)
> 3 'a
> This is disappointing, I was hoping that I would get
> 2 args and the first would be 'a b' (
That behaviour is what I would expect. rc splits text in `{} according
to $ifs, which is usually space, tab, and newline. It doesn't treat any
characters special, including quotes.
Am 26.11.2014 um 14:02 schrieb Steve Simon:
> rc using backquote to parse strings, e.g:
>
> hugo% s=`{echo a b