Issue
I have columns like this:
-0.000000650100
0.000015560000
-0.000003653000
-0.000004339000
0.000003259000
Need them to look like this:
0
0.000015560000
0
0
0.000003259000
Not having success with awk, suggestions?
Solution
This is simple with awk
awk '{print($0<0?0:$0)}' file.txt
Answered By - iruvar