Search Results

Search: Posts Made By: rdrtx1
3,287
Posted By rdrtx1
See update to post #7
See update to post #7
3,287
Posted By rdrtx1
awk '{ c=split($0,a, " *,* *"); for...
awk '{
c=split($0,a, " *,* *");
for (i=1;i<=c;i++) if(a[i] ~ /-/) {w=a[i]; sub(/-/,"",a[i]); a[i]="-"a[i]; sub(w, a[i])}
} 1' Input_file > Output_file
Showing results 1 to 2 of 2

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