sed: group capturing
- by Michael
Is there any way to tell sed to output only captured groups? for example given by input:
This is a sample 123 text and some 987 numbers
and pattern
/([\d]+)/
I could get only 123 and 987 output in the way formatted by back references perhaps?