Search Results

Search: Posts Made By: Perderabo
9,384
Posted By Perderabo
1 sed 's/\(test[ ,]*3,\)1/\12/' 2 sed 's/ ...
1 sed 's/\(test[ ,]*3,\)1/\12/'
2 sed 's/ / /'
3 sed 's/\( \) /\1 /'
4 sed 's/\(test[ ,]*3,\) /\1 /'
5 sed 's/\(test[ ,]*3,\)1/\12/'


Line 1 and line 5 are the...
9,384
Posted By Perderabo
You can always do several s commands with a...
You can always do several s commands with a single sed process. But I think you are looking for something like this...

sed 's/\(test[ ,]*3,\)1/\12/'
9,384
Posted By Perderabo
I think that sed 's/,1/,2/' is all you need.
I think that
sed 's/,1/,2/'
is all you need.
Showing results 1 to 3 of 3

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