Search Results

Search: Posts Made By: Subbeh
955
Posted By Subbeh
It doesn't work for some reason (using nawk...
It doesn't work for some reason (using nawk instead of awk):
$ nawk '{ sub(/ /, ",", $NF); gsub(/"/, "", $NF); } 1' testfile
"field1", field2,field3, ...,"1.00 EUREDIT: It works now, forgot the...
955
Posted By Subbeh
help with awk
Hi,

I have the following string in which I have to split the last column in two:
"field1", field2,field3, ...,"1.00 EUR"Output:
"field1", field2,field3, ...,1.00,EURI'm quite new to awk, but I...
Showing results 1 to 2 of 2

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