![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
SED - Help
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|