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

Re: bash-isms in packages

On Apr 22, Justus Pendleton wrote
: Unfortunately, I could find nothing in debian-policy (the
: most recent I found) that says anything about bash being required.
: Of course, it is required...but only because the maintainer gave it
: that priority.

And I think, it's ok.  Should we stay on the old V7 /bin/sh, only to
keep _all_ /bin/*sh* users happy?  

Just understand bash as YET ANOTHER SCRIPTING LANGUAGE ... like perl,
awk, TCL, ... 

: Circumventing the sh link isn't all that bad.  I've been doing it for a
: while now and all of the problems that arose were because people used
: bash-isms.  In it's current state, trying to completely remove bash from

These bash-isms make at least some programmers live somewhat easier.

Probably it should be suggested/recommended/enforced, that every
bash-ism using script starts with ``#! /bin/bash'' rather then 
with ``#! /bin/sh''

email : heiko@lotte.sax.de heiko@debian.org heiko@sax.de
pgp   : A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 
finger: heiko@sax.sax.de         heiko@master.debian.org

Attachment: pgpGbEYZWzmt6.pgp
Description: PGP signature

Reply to: