[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help with scripting



On Thu, 17 Oct 2002 21:32:43 -0700 (PDT) Shawn Lamson
<madzimambo@yahoo.com> wrote:

> good job... one question... should it be "$@" instead of $@?  ie. what
> if he had spaces in the filenames... you could add a

Or, you could change the shell internal field seperator via:

  IFS=$'\t\n'

This would temporarily drop space as a seperator.  Then populate the list
of file to work with from an ls command.

-- 
Jamin W. Collins



Reply to: