On 02/12/2017 05:06 PM, bruce wrote:
the following isn't working

  sed -i 's/\,+$//'  sed.da


That would remove one or more commas, if they immediately precede the end of the line.

You mean:

sed 's/,.*$//'

or:

cut -f1 -d,
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to