I am collecting data from text files that contain both text & numbers. I want to only get the numbers and not the text. What command do I use to only read in the numbers?
This is kinda what the files are like. They contain mostly numbers but every so often there are rows of text (I think that the files were merged and they still contain the headers).
head head head
num num num
num num num
head head head
num num num
num num num
How can I use the tr function to only collect the numerical data?
[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object:erlDesignPatterns)[/small]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.