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

Re: Several reasons why debian should not use bash for /bin/sh



On Wednesday, July 29 1998, at 16:26:10, Chris Ulrich wrote:
: 
:   As for writing scripts without bashisms; if you send me a script with
: bashisms, I'll send you a bourne shell script that does the exact same
: thing without bash (or ksh)isms.
: chris

I use a lot bash substitutions like this...

bash-2.01$ blah="psee:jjkkuu"; echo ${blah/*:/}
jjkkuu
bash-2.01$

I don't know how to do that in sh without awk, cut or sed. Ideas? ;-)

Regards,
-- 
Roberto Lumbreras
rover@lander.es | rover@etsit.upm.es | rover@debian.org & pgp 143BE391
Lander Internet, Madrid-Spain-UE; http://www.lander.es


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: