[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19586: sed bug?
From: |
E.Fennema |
Subject: |
bug#19586: sed bug? |
Date: |
Sun, 11 Jan 2015 17:05:40 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
I am running
sed (GNU sed) 4.2.2
address@hidden:~/> echo "Here 345 is a number" | \
sed 's,.*\([23456]\).*,I found \1,;q'
I found 5
So far so good.
address@hidden:~/> echo "Here 345 is a number" | \
sed 's,.*\([23456]*\).*,I found \1,;q'
I found
This foxes me no end. Why can't I use the * postfix on a list ?
Is this a bug or me being stupid?
Appreciate your advice
Enno Fennema
- bug#19586: sed bug?,
E.Fennema <=