21 Apr
2009
21 Apr
'09
15:13
In <gsk4u5$5a8$1@saturn.local.net>, Per Jessen wrote:
find /mnt/Data/Todo -type f -exec basename {} \; | while read a do /usr/bin/stcommand $a /usr/bin/2ndcommand $a done
This falls down when filenames contain back-slashes (sometimes) or newlines. Using 'read -r a' falls down when filenames contain newlines. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/