Jamin Collins wrote:
>
> Jan Schaumann [mailto:[EMAIL PROTECTED]] wrote:
> > 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?
>
> Don't know about a (t)csh, as I'm a bash man here. But, bash has no problem
> with "echo '#!/bin/sh' > ./test"
yes
some meta-chars are not inhibated in double quoted string
(for example '$' or '!'), but they are in simple quoted string
--
| Nicolas Delon --- EPITA student |
| e-mail at home: [EMAIL PROTECTED] |
| at school: [EMAIL PROTECTED] |
| web site: http://www.epita.fr/~delon_n |
| GNU/Linux User |