Re: something strange with rsh/ssh + bash/tcsh is happening. Please advise
vzweije@sense.xs4all.nl (Vincent Zweije) wrote:
> It's not a bug. It's a feature. :)
>
[...]
> /bin/sh -c '/bin/echo' '1111'
> /bin/tcsh -c '/bin/echo' '1111'
> /bin/tcsh -c '/bin/echo' '1111'
>
> So it runs the command /bin/echo with $1=1111. However, /bin/echo
> doesn't use $1, and only prints an empty line which you see.
Aha. So what does echo use? When I type "/bin/echo foo bar" at the
prompt, it's also the shell that hands over the line to echo, and it
does that after splitting the lines into words - so where is the
difference? (I see it, it's on my screen, but why?)
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: