Change Spesific Columns Value According to a condition
This changes 4th columns value to "none" if it is zero.
awk 'BEGIN{FS=OFS=";"} $4 == "0" ;{$4 = "none"; } {print $0}' $filename
Post a Comment
No comments:
Post a Comment