Subject: Re: Unixism, pipes and pkgsrc
To: None <netbsd-users@netbsd.org>
From: Jordan Gordeev <jgordeev@dir.bg>
List: netbsd-users
Date: 08/24/2007 11:37:42
André Wienck wrote:
> Salut,
> 
> On Fri, 24 Aug 2007 10:03:09 +0200, Johnny Billquist
> <bqt@softjar.se> wrote:
> 
>>The gist of the article is otherwise to not write scripts in any shell, but to 
>>use Perl or something similar instead (hey, the guy who wrote it is/was a Perl 
>>consultant). But sh-advocates just jump on the "don't write in csh" as an 
>>argument pro sh. :-)
> 
> 
> 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