I tried your example (reduced to the to given lines) on my FreeBSD
system and got identical output both ways. So I suspect it's a linux
(or distro) thingie. I'm quite puzzled as to what could be the
cause, though.

Nevertheless, I'd still be cautious about here documents and variable
substitutions. (Maybe sam -d <<'EOF' would be better suited for
normal use.)

        Martin

* Rudolf Sykora ([email protected]) wrote:
> > i think rc is interpreting $ as a here document
> > variable and messing up.
> 
> By why then i works nicely in plan9 and not in linux, although I use
> 'rc' in both?
> R

Reply via email to