Frank Terbeck <[EMAIL PROTECTED]> wrote:

> >  for FILE in `ls *$1` ; do
> 
> Please don't teach beginners to do for loops like this. It's broken in
> various ways. Just do:
> 
>   for FILE in *"$1" ; do
>

Being a self taught script writer I just have to ask what are the
'various ways' in which the first form is broken?

Anticipating enlightenment,
Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to