LWN.net Logo

Speaking of useless elements ...

Speaking of useless elements ...

Posted Jul 21, 2003 13:42 UTC (Mon) by Peter (guest, #1127)
In reply to: Useless use of ... by orabidoo
Parent article: Graphics tricks from the Linux command line (IBM developerWorks)

for i in *.jpg; do; whateveryouwant; done

Eh, be careful when pointing out eye motes. One of those semicolons doesn't belong. (Which semicolon? An exercise for the reader.)


(Log in to post comments)

Speaking of useless elements ...

Posted Jul 21, 2003 18:05 UTC (Mon) by flewellyn (subscriber, #5047) [Link]

Obviously, the one after the do. That won't do anything. It should just be: for i in *.jpg; do whateveryouwant; done Then all shall be happy and fluffy and wonderful.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds