[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Help with wc and subtraction needed



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.
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]