1758594 Members
2005 Online
108872 Solutions
New Discussion

Re: script help...

 
SOLVED
Go to solution
Tommy Palo
Trusted Contributor

Re: script help...

I realized that you wanted to get rid of the target lines also so try:

cat FILE | awk '/PV Name LE/,/Logical extents/' | sed -e '1d' -e '$d' > NEW_FILE
Keep it simple