Andrew Suffield wrote:
> ...
> export V=`cat install.sh | grep "^VERSION=" | head -n 1 | cut -f 2 -d "="`
> ...
> And you win the "useless use of cat" award.

Don't you hate it when that happens!  :-)  I also like the "useless use
of grep before awk" award.

-- 
Paul
<http://paul.gear.dyndns.org/>
--
Are you tired of the major political parties?  Do you want to make a
difference with your vote?  Please support the Family First Party in
your local electorate, and Jeff Buchanan and the Queensland Senate team.
See <http://www.familyfirstqld.org.au/> for more details, or ask me
about how you can help in the electorate of Bowman.

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to