On Fri, 12 Nov 1999, John Horne wrote:
> Hello,
>
> I have a small script which uses the find command to locate files and then
> does an 'ls -lAd' on them (don't ask why, it's not important). This however
> has failed nicely when it hits files with spaces in them!
>
> I have as a test:
>
> for FNAME in `find /tmp -type f -maxdepth 1 -printf '"%p"\n' `; do
> ls -l "$FNAME"
> done
do a man on bash and look for "IFS"
Set it to this:
_________________________________________
IFS="
"
_________________________________________
Yes, the end quote should be on the NEXT line.
--
\ \/ / _ |~\ _ In God We Trust. All Others Pay Cash.
> < / \|\ /|+-< | | "The world is a comedy to those that think,
/ /\ \\_/| \/ ||__)|_| a tragedy to those who feel." - Horace Walpole
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.