![]() |
|
|
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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| port filtering | ujjwalmohan | HP-UX | 0 | 11-26-2007 01:18 AM |
| Filtering Data | bobo | UNIX for Dummies Questions & Answers | 2 | 09-19-2007 04:06 PM |
| awk filtering ? | varungupta | UNIX for Advanced & Expert Users | 4 | 09-17-2007 03:55 AM |
| Filtering Data | Raynon | Shell Programming and Scripting | 7 | 09-05-2007 07:38 PM |
| Need help in string filtering (KSH) | rockysfr | Shell Programming and Scripting | 1 | 06-28-2007 03:04 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
awk and sed filtering
Goo afternoon Sir'sould like to ask your help reagrding in this scenario using sed and awk.
******************************************************** Host:CDRMSAPPS1 Operating System:Linux 2.6.9-42.ELsmp Machine Type:UNIX Host Type:Client Version:5.1 ******************************************************** Universal Settings Restore retries: 0 Browse timeframe for restores 0 days Required network interface ******************************************************** Host:CERDB1 Operating System:Linux 2.6.9-22.ELsmp Machine Type:UNIX Host Type:Client Version:5.1 ******************************************************** Universal Settings Restore retries: 0 Browse timeframe for restores 0 days Required network interface **************************** this is just a test ****************************** ******************************** Hostname: cebudr ******************************************************** Host:ROAM-D Operating System:Linux 2.6.9-34.ELsmp Machine Type:UNIX Host Type:Client Version:5.1 ******************************************************** Desired Output : ******************************************************** Host:CDRMSAPPS1 Operating System:Linux 2.6.9-42.ELsmp Machine Type:UNIX Host Type:Client Version:5.1 ******************************************************** ******************************************************** Host:CERDB1 Operating System:Linux 2.6.9-22.ELsmp Machine Type:UNIX Host Type:Client Version:5.1 ******************************************************** ******************************************************* Host:ROAM-D Operating System:Linux 2.6.9-34.ELsmp Machine Type:UNIX Host Type:Client Version:5.1 ******************************************************** |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|