On Wed, Dec 26, 2012 at 10:29 AM, Chandrashekar Babu <[email protected]
> wrote:

>
>
> >  for f in `ls /etc/*`
> Yet another useless use of 'ls' command. You could've used
>      for f in /etc/*
>


Also, if the script is being invoked from inside a login shell, then there
is a bright chance the 'ls' will be aliased (I usually alias my ls to show
file size) and this will fail in weird ways.

Regards,

  -Suraj

-- 
Career Gear - Industry Driven Talent Factory
http://careergear.in/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to