sed, print only the searched string !
Hi all.
Like grep -o option which extracts the interesting value from the input file. Is there any way sed can also extract the interesting string from the line instead of print whole lines ?
Like for example, i have following 3 lines
asdada dog12 asdad ad asda d
asdadadadadog12asdadad
dog12asdadadasdad ad ad
Now i just want to extract dog12 using sed, pls tell me
|