On Fri, Oct 26, 2001 at 03:16:02PM +1000, Matt Hyne wrote:
> for FILE in `ls`; do
> echo "Converting $FILE..."
> done
>
> Converting xxx...
> Converting yyy...
> Converting zzz.doc...
>
All of these handle spaces in filenames:
for i in *; do echo "Converting $i..."; done
find . -type f -print0|xargs -0 -n1 -iX echo "Converting X..."
find . -type f -exec echo "Converting {}..." \;
Cheers,
John
--
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug