Indraneel Majumdar wrote: > > echo $word | perl -pe 's/(.*)/\L$1/g' > shouldn't that use > tr/A-Z/a-z/g; > instead of > s/(.*)/L$1/g i gues, Binand's solution is more portable.