[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] bash question
- Subject: [ale] bash question
- From: kjkrum at comcast.net (Kevin Krumwiede)
- Date: Tue, 22 Jul 2003 00:30:57 -0500
I want to do something to all the files whose names are listed in a text file, like this:
for fname in $(cat filelist); do ...; done
The problem is, some of the file names have spaces. For example, 'My Song.mp3'. The action is performed on 'My', and then on 'Song.mp3'. How do I make it so each line of the file list is treated as a single word?
Thanks,
Krum
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale