Re: Need help with scripting

2002-10-18 Thread Jamin W . Collins
On Thu, 17 Oct 2002 21:32:43 -0700 (PDT) Shawn Lamson <[EMAIL PROTECTED]> 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

Re: Need help with scripting

2002-10-18 Thread Sean 'Shaleh' Perry
On Thursday 17 October 2002 21:32, Shawn Lamson wrote: > good job... one question... should it be "$@" instead of $@? ie. what > if he had spaces in the filenames... you could add a > > mv "$file" "`echo $file | tr " " "_"`" > to turn all spaces in the filename into underscores as the first line >