in reply to Re^4: How to print certain lines out of a text file.in thread How to print certain lines out of a text file.
perl -ne "print if m{^\s*HW/OS/Client:} ... m{^\s*$}" mas01_policy_dum +p.txt [download]