bug-sed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19586: Not a bug


From: E.Fennema
Subject: bug#19586: Not a bug
Date: Tue, 13 Jan 2015 08:30:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

I was stupid and (again) too greedy for a quick solution to think properly:

echo "Here 345 is a number" | sed 's,[^0-9]*\([23456]*\).*,I found \1,;q
I found 345

My apologies for even doubting.
Enno Fennema





reply via email to

[Prev in Thread] Current Thread [Next in Thread]