Help with wc and subtraction needed

Matthew Benjamin msbenjamin12 at gmail.com
Fri Jul 13 00:28:46 UTC 2007


I have a command that I am trying to read a particular amount of lines with

wc -l somefile | awk '{print $1}'

when it givs the number of lines, I am trying to find out how to use that
number in an addition problem. Can someone help me with that?


-- 
mB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20070712/0033c98a/attachment-0002.html 


More information about the users mailing list