Tag Archives: KG

Script needed to extract few lines from file

By jakSun8

Hello,
I need a utility script or command that will extract the following lines from a file based on a ‘word’ contain in a line. For example my file contains lot of lines.
So if i pass 1800182 to the script/command it should return everything between 1st RequestNetRates tag before it and 1st RequestNetRates tag after it …thanks in advance



1.3.3
2013-02-12T04:14:02Z
2013-02-12
INTLRS_1800182_en_US_KG_IPDE

610013406
EUR
Y
KG

01I

37I

86I

18I

25I

15I

17I

61I

...read more
Source: FULL ARTICLE at The UNIX and Linux Forums