bash handles bytes instead of chars

2008-09-21 Thread ®om
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='lin$ uname output: Linux rom-laptop 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC$ Machine Type: i486-pc-l

File renaming using SED in BASH

2008-09-21 Thread MisterMuv
Hi, I am having a problem renaming a files using SED. The filenames are in the following format: eg 001 - GreatPics1 (The Opening) (www.somewhere.net).jpg 002 - GreatPics2 (The Closing) (www.somewhere.net).jpg 003 - GreatPics3 (The Ending) (www.somewhere.net).jpg I am wanting to remove content

Re: File renaming using SED in BASH

2008-09-21 Thread Bob Proulx
MisterMuv wrote: > I am having a problem renaming a files using SED. There is 'sed' and there is 'bash' and there are combinations of the two. If you were really asking about sed then help-gnu-utils would be the better place. But in this case your use of 'sed' was okay but it really was your use

Re: File renaming using SED in BASH

2008-09-21 Thread Chris F.A. Johnson
On 2008-09-21, MisterMuv wrote: > > Hi, > > I am having a problem renaming a files using SED. > > The filenames are in the following format: eg > > 001 - GreatPics1 (The Opening) (www.somewhere.net).jpg > 002 - GreatPics2 (The Closing) (www.somewhere.net).jpg > 003 - GreatPics3 (The Ending) (www.so