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
-- "That man has a rare gift for obfuscation." -- ST:DS9 * "It's hard to be bored when you're as stupid as a line." -- Vernor Vinge * "Reality has a tendency to be so uncomfortably real." -- Neil Peart * "You can only measure the size of your head from the inside." -- Larry Wall
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 10:19:20 EST