Help with wc and subtraction needed

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

 



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.

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux