Search Results

Search: Posts Made By: Corona688
955
Posted By Corona688
You can cheat, and just change the content of $NF...
You can cheat, and just change the content of $NF without creating new fields.

1) Change the space to a comma
2) Delete the quotes

awk '{ sub(/ /, ",", $NF); gsub(/"/, "", $NF); } 1' inputfile
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 03:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy