Search Results

Search: Posts Made By: polineni
1,976
Posted By vgersh99
Probably, but awk looks better suited for the...
Probably, but awk looks better suited for the task at hand.
Others may have other ideas.
1,976
Posted By vgersh99
nawk ' BEGIN{ FS=OFS="," ...
nawk '
BEGIN{
FS=OFS=","
qq=sprintf("%c", 034)
}
{
for(i=1;i<=NF;i++)
if(index($i,qq)) {
gsub(qq,"",$i)
$i=qq $i qq
}
}
1' myFile
Showing results 1 to 2 of 2

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