Is there anya way to tell sed
to output only captured groups?
For example, given the input:
This is a sample 123 text and some 987 numbers
andAnd pattern:
/([\d]+)/
Could I get only 123 and 987 output in the way formatted by back references?