Hi,
I have a huge output file which contains data about some users.
Report for each user starts with the following line in the file.
Note that the no. of lines under each user is never the same.
I need to extract only the data of a particular user from this file into a different file.
How can I do this in KSH?
Thanks,
RV
I have a huge output file which contains data about some users.
Report for each user starts with the following line in the file.
Code:
[b]Detailed Report for User: <user name>[/b]
....some data...
[b]Detailed Report for User: <[COLOR=blue]USER NAME I AM INTERESTED IN[/color]>[/b]
....some other data...
[b]Detailed Report for User: <user name>[/b]
....some more data...
Note that the no. of lines under each user is never the same.
I need to extract only the data of a particular user from this file into a different file.
How can I do this in KSH?
Thanks,
RV