Re: shell scripts and escaped charecters in file names

2006-01-15 Thread Mathias Menzel-Nielsen
Ronny Hippler wrote: Hello, I am trying to get the following script to run with no success. - #!/bin/csh foreach file (\*vol\*) mv $file `basename $file .par2`.PAR2 echo $file end - and get the following error: usage:

Re: shell scripts and escaped charecters in file names

2006-01-15 Thread Ronny Hippler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 je killen wrote: | | On Jan 14, 2006, at 11:35 PM, Ronny Hippler wrote: | | Hello, | I am trying to get the following script to run with no success. | | #!/bin/csh | foreach file (\*vol\*) | mv $file `basename

RE: shell scripts and escaped charecters in file names

2006-01-15 Thread mdff
> > Hello, > I am trying to get the following script to run with no success. > - > #!/bin/csh > foreach file (\*vol\*) > mv $file `basename $file .par2`.PAR2 > echo $file > end > - > and get the following error: > usa