jayjaybigs
IS-IT--Management
Hello,
I am trying to remove all the white spaces at the end of each record.
I used sed -e 's/, /,/g' original.txt > space_removed.txt
but this only remove spaces b4 comma. How can I modify this to remove space only at the end of each record.
Tks
I am trying to remove all the white spaces at the end of each record.
I used sed -e 's/, /,/g' original.txt > space_removed.txt
but this only remove spaces b4 comma. How can I modify this to remove space only at the end of each record.
Tks