Kenneth Whittaker penned:
Woah! I think you just found a bash bug.
Let me try a slight mutation of your script: kenw-sun - 08:57:11 PM - 4 % find * -type f -print | sed -e 's%.*%ls -ldtr "&" .snapshot/*/"&"; echo%' | sh > messed.up.files kenw-sun - 08:57:11 PM - 5 %
Ta da! No errors. It looks like bash has some subtle confusion with expansion of * and quotes. It only happens with a small number of files.
I concur. I am going to install the newest version of bash and see if that fixes the problem. Thank you.
Regards,
David K. Drum david@more.net