[CLUE-Tech] removing spaces from filenames

Matt Gushee mgushee at havenrock.com
Sat May 15 13:58:23 MDT 2004


On Sat, May 15, 2004 at 02:35:05PM -0400, Angelo Bertolli wrote:
> The for loop in bash treats the spaces in file names as different 
> "elements" for the loop.  This is really annoying as I want to process a 
> bunch of files with spaces in them.  Is there any way I can get around 
> this?  Putting " " around the names doesn't seem to help.

No, double quotes wouldn't work. Have you tried single quotes?

-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee at havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)



More information about the clue-tech mailing list