On Tue, May 3, 2016 at 10:44 PM, Philip Rhoades <phil@xxxxxxxxxxxxx> wrote: > People, > > This behaves as expected: > > echo 'This is a test 12335 and 669384 535xy4' | sed 's/[0-9]*//g' > > but I would expect this: > > echo 'This is a test 12335 and 669384 535xy4' | sed 's/[0-9]*//' > > to delete the first string of digits but it doesn't do anything . . > clarification from a sed guru? > > Thanks, > > Phil. > -- > Philip Rhoades What about adding the "g" qualifier and substituting "*" for "+"? I didn't try this, just wondering...sed 's/[0-9+]//g' HIH, Ken Wolcott -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org