Quote:
Originally Posted by nvuradi
hi i am getting the following error when i used the awk command
awk 'BEGIN{FS=OFS="|"}{$NF=$NF+0} 1' $filename
Error:
awk: syntax error near line 1
awk: bailing out near line 1
if possible can you explain what is this awk command doing here?
Thanks
Narendar
|
change 1 to {print},its working perfectly fine.