[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 Friday, July 31 1998, at 15:07:30, Herbert Xu wrote:
: Roberto Lumbreras <rover@lander.es> wrote:
: > bash-2.01$ blah="psee:jjkkuu"; echo ${blah/*:/}
: > jjkkuu
: > I don't know how to do that in sh without awk, cut or sed. Ideas? ;-)
: 
: blah="psee:jjkkuu"; echo ${blah##*:}
: 
: which is POSIX.

thanx...  8-)

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: