[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: bash script
Don't have the perl book right now. Is L more supported than tr/// in perl
across diferent platforms or is it something else?
On Mon, 19 Feb 2001, ambarish pathak wrote:
> 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.