> Ack. Not commenting on the script itself, but this is dangerous.
> Depending on the shell, filename will be rewritten immediately
> due to the '>' redirection, and thus this will end up making
> the file blank. Also, Google for "Useless use of cat".


Ooops!! I did '> filename' without thinking as I was typing the
mail. But the links on "useless use of cat" are rather interesting. I
have been using cat uselessly rather often.

Thanks for the pointer.

Vikas


_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to