Sorry to be such a pest today. I'm working on a sh script that uses a for loop. To test, I've written the following:

for i in `/usr/bin/find /multimedia/Pictures -iname "*.jpg" -or -iname "*.gif" -print`
       do
       echo -e "\n$i"
done

The first line 'find' returns is "/multimedia/Pictures/1998 Christmas/April01.JPG"

Yet 'echo $i' only returns "/multimedia/Pictures/1998", stopping at the first space. Is it possible to get 'i' to represent the whole string that 'find' returns? If so, how?

Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to