On Tue, May 3, 2016 at 10:44 PM, Philip Rhoades <phil(a)pricom.com.au> 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