Page 2 of 2
<
1
2
Show 50 post(s) from this thread on one page
LinuxQuestions.org
(
/questions/
)
-
Programming
(
https://www.linuxquestions.org/questions/programming-9/
)
- -
log column in file with awk
(
https://www.linuxquestions.org/questions/programming-9/log-column-in-file-with-awk-4175472969/
)
Firerat
08-16-2013 12:00 AM
If headers, and 0.00 are important
Code:
awk '/#/{print $0" log"}
!/#/{n=log($2);sub(/-inf/,"0.00",n);print $0" "n}' < rmsd.tab > another
gav251
08-16-2013 04:05 AM
Exactly! Thanks firerat...
All times are GMT -5. The time now is
09:14 PM
.
Page 2 of 2
<
1
2
Show 50 post(s) from this thread on one page