On Thu Jun 16 09:04:08 2005, [EMAIL PROTECTED] wrote: ... > I also strongly recommend _against_ using #!/bin/sh as the first line of > shell scripts. There is no shell called "sh" anymore. It is always one of > the > other shells and they are different enough that it has become unreasonable to > expect any given shell script to work with all of them. For example, I just > discovered that tcsh does not understand $(command) !
Many others have responded, but just to make one thing perfectly clear: /bin/sh can never be csh(1) or tcsh(1). Or at least, 99% of all shell scripts will break on such a system, making it unusable. There are many incompatibilities among the shells that *can* be /bin/sh (ksh, pdksh, ash, bash, zsh ...) but at least they belong to the same family of languages. Csh and tcsh are a completely different track. /Jörgen -- // Jörgen Grahn "Koka lopplummer, bada Ross, loppor borta." \X/ <[EMAIL PROTECTED]> -- Jonas _______________________________________________ Groff mailing list [email protected] http://lists.gnu.org/mailman/listinfo/groff
