gino peregrini <[EMAIL PROTECTED]> wrote:
> On Tuesday 07 August 2001 14:17, Jan Schaumann wrote:
> > $> su
> > $> echo -e "#!/bin/sh\n\nexec /usr/bin/blackbox"

> I had to edit the command a little. My shell didn't want the ! and there 
> was extra new-line.
> 
> I really appreciate the help from you, Jamin, and and John. I've got it 
> working, but (maybe more important) I've learned more about BB and Linux.

See, and I've learned something about different shells now.  Apparently,
bash and (t)csh don't like "#!/bin/sh" in an echo, while ksh doesn't
mind.  I forgot that "!" is a special character (history) in other
shells - now how does one DO "echo "#!/bin/sh" in, say, bash?  Anybody?

-Jan

-- 
Jan Schaumann 
http://www.netmeister.org

Reply via email to