groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <OK> [Groff] serious pdfroff problems


From: Jörgen Grahn
Subject: Re: <OK> [Groff] serious pdfroff problems
Date: Sat, 18 Jun 2005 07:48:39 +0200
User-agent: Mutt/1.5.9i

On Thu Jun 16 09:04:08 2005, address@hidden 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/ <address@hidden>                                   -- Jonas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]