Reputation: 142
I use ${var//string1/string2} for replace characters or strings, now I need do the same but in a specific column awk.
try this for replace space per '_' but does not work
cat file | awk -F',' '{print ${3// /_}'
Upvotes: 2
Views: 1679