Subject: Re: Unixism, pipes and pkgsrc
To: Jordan Gordeev <firstname.lastname@example.org>
From: Chavdar Ivanov <email@example.com>
Date: 08/24/2007 11:51:19
On 24/08/07, Jordan Gordeev <firstname.lastname@example.org> wrote:
> Andr=E9 Wienck wrote:
> > Salut,
> > On Fri, 24 Aug 2007 10:03:09 +0200, Johnny Billquist
> > <email@example.com> wrote:
> >>The gist of the article is otherwise to not write scripts in any shell,=
> >>use Perl or something similar instead (hey, the guy who wrote it is/was=
> >>consultant). But sh-advocates just jump on the "don't write in csh" as =
> >>argument pro sh. :-)
Oh, dear, I didn't intend to start a flamewar or even a discussion
about [c]sh; I just mentioned that at the time I decided to have one
less thing to worry about... even if all the scripts written in the
company I worked for (and still do) were written in csh... The article
is a classic, though.
> > Actually, my argument pro sh is: if you write POSIX shell code, it will
> > work on any system except Solaris. If you go into Bashisms or kshisms,
> > you lose.
> Solaris 10 has a POSIX-compliant sh in /usr/xpg4/bin/sh.
> I'm wondering, do you lose if you write a script in Perl, Python or Tcl,
> as you do when you "go into Bashisms or kshisms"?
> > aw