Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Extract part of a string

$
0
0
I have a file with 100s of lines of text. I want to perform an extraction of this line:

Code:

Info bpzs(pid=2652) using 1000 bits
I have not been able to extract it. Should I try expr match or is there another method? This line has data both in front of and in back of it. I do not have grep -o as an option on my system. Any ideas are greatly appreciated.

Viewing all articles
Browse latest Browse all 16232

Trending Articles