Search Results

Search: Posts Made By: learning
5,069
Posted By Scott
Hi. You could probably do that in one step. ...
Hi.

You could probably do that in one step.

i.e.

sed -e 's/[, ]*$//g'
5,069
Posted By Scott
Hi. You don't have to escape the comma (\,)...
Hi.

You don't have to escape the comma (\,) although it seems to make no difference.

The sed code you are using will not write back to the file.

If your sed has the -i option use that,...
Showing results 1 to 2 of 2

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