21 Apr
2009
21 Apr
'09
15:15
On 4/21/2009 at 17:13, "Boyd Stephen Smith Jr." <bss@iguanasuicide.net> wrote:
In find /mnt/Data/Todo -type f -exec basename {} \done This falls down when filenames contain back-slashes (sometimes) or newlines. Using 'read -r a' falls down when filenames contain newlines. --
I can live with that ;) The users create the files on a Windows box and as such, wjitespaces are common, newlines probably not and backslashes are not valid neither in this world. So Those shortcomings are acceptable (considering on how much more readable it is). Thanks anyway! I'll keep this around. Dominique -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org