Search Results

Search: Posts Made By: jbruce
14,326
Posted By jbruce
Print lines between two lines after grep for a text string
Franklin, Thank you for the time you have taken to answer my query. The latest code works and produces the output that I wanted, however it will stop at the first occurrence of the <pattern>. In the...
14,326
Posted By jbruce
Print lines between two lines after grep for a text string
Franklin,
file format is
<ROW>
<OBJECT_ID>32948</OBJECT_ID>
<OBJECT_SEQ_NO>1</OBJECT_SEQ_NO>
<OBJECT_DATA> as much as 24 lines X 80 characters </OBJECT_DATA>
</ROW>

OR

<ROW>
...
14,326
Posted By jbruce
Print lines between two lines after grep for a text string
I have several very large file that are extracts from Oracle tables. These files are formatted in XML type syntax with multiple entries like:
<ROW>
some information
more information
</ROW>
I...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy