Hello
All
1) I have a file like
PROFILE ....etc
....... sd04-418
....... sd04-430
EOD
PROFILE ....etc
....... sd04-418
....... sd04-430
EOD
PROFILE ....etc
....... sd04-418
....... sd04-430
EOD
the lines like ....... sd04-418 are many I need to print the line containing PROFILE ..... etc and all the lines containing ....... sd04-418 after it until EOD using sed
regards
All
1) I have a file like
PROFILE ....etc
....... sd04-418
....... sd04-430
EOD
PROFILE ....etc
....... sd04-418
....... sd04-430
EOD
PROFILE ....etc
....... sd04-418
....... sd04-430
EOD
the lines like ....... sd04-418 are many I need to print the line containing PROFILE ..... etc and all the lines containing ....... sd04-418 after it until EOD using sed
regards