On 25 January 2013 14:33, Andrew Taylor <[email protected]> wrote: > This is what I have settled on (it works!). Are there any reasons why this > could be bad practice?
It looks 'fit for purpose'. My general principle when writing scripts is to consider whether I'm going to reuse the code I write therein. In your case, you could pass in the filenames you want to consider on the command line. Writing shell scripts such that you can easily reuse / adapt them in future makes for time & effort saving. -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf)
