Hello,
I need an help for a shellscript.
I have a process that create an output file with a list of names, and it create an output file ( everytime the list of names can change ), this is the output file let's call names.txt:
prgrm> list nametable show NAMES
NAMES
-------------------------------
JOHN
MARK
ANTHONY
GEORGE
4 row returned.
prgrm>
spool off
I want to use
SED or ( something else would be nice and appreciated as well ) for creating a second file named names2.txt with this content:
JOHN
MARK
ANTHONY
GEORGE
This was an example... and everytime the name list may vary....
Can you help me ? My brain is smoking for thinking about a solution
Many Thanks
Jack79_mi