buckpasser
Technical User
Folks,
I would like to save (parse out) certain lines of a file and save them to another file.
==================INPUT======================
--Garbage Lines--
--Keyword A------
--Garbage Lines--
#Keyword B ------
--Save Lines--------
--Save Lines--------
--Garbage Lines--
--Keyword A------
--Garbage Lines--
#Keyword B ------
--Save Lines--------
--Save Lines--------
--Garbage Lines--
====================OUTPUT===========
--Keyword A--
#Keyword B ------
-----Save--------
-----Save--------
--Keyword A--
#Keyword B ------
-----Save--------
-----Save--------
I would like to save (parse out) certain lines of a file and save them to another file.
==================INPUT======================
--Garbage Lines--
--Keyword A------
--Garbage Lines--
#Keyword B ------
--Save Lines--------
--Save Lines--------
--Garbage Lines--
--Keyword A------
--Garbage Lines--
#Keyword B ------
--Save Lines--------
--Save Lines--------
--Garbage Lines--
====================OUTPUT===========
--Keyword A--
#Keyword B ------
-----Save--------
-----Save--------
--Keyword A--
#Keyword B ------
-----Save--------
-----Save--------