![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Delete a word and complete line | Aejaz | UNIX for Advanced & Expert Users | 1 | 05-02-2008 12:50 PM |
| how to delete spaces around a word | sachin.gangadha | UNIX for Dummies Questions & Answers | 8 | 12-05-2007 04:00 AM |
| Delete all occurence of a word in one shot | namishtiwari | Shell Programming and Scripting | 6 | 08-24-2007 08:41 AM |
| Can a shell script pull the first word (or nth word) off each line of a text file? | tricky | Shell Programming and Scripting | 5 | 08-17-2006 06:29 AM |
| Sed help to delete everything prior to WORD | drheams | Shell Programming and Scripting | 2 | 12-09-2005 05:34 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to delete a word from a file?
Hi All,
I want to delete a word from file. How to do that. I have file that contains the following Information. EntityName:alba00r1.mis.amat.com OverallStatus:Minor IfName:Gi1/0 EntityName:alba00r1.mis.amat.com[ 0 [ 4 ] ] OverallStatus:Normal IfName:Se0/0/0 EntityName:alba00r1.mis.amat.com[ 0 [ 1 ] ] OverallStatus:Minor IfName:Gi0/0 EntityName:alba00r1.mis.amat.com[ 0 [ 2 ] ] OverallStatus:NotMon IfName:Gi0/1 EntityName:alba00r1.mis.amat.com[ 0 [ 3 ] ] OverallStatus:NotMon IfName:Tu0 EntityName:alba00r1.mis.amat.com[ 0 [ 14 ] ] OverallStatus:Normal IfName:Tu1 EntityName:alba00r1.mis.amat.com[ 0 [ 15 ] ] OverallStatus:Normal IfName:Lo0 EntityName:alba00r1.mis.amat.com[ 0 [ 16 ] ] OverallStatus:Normal IfName:Gi1/0.2 By using a command (without vi), I have delete a words (EntityName: and OverallStatus: and IfName ![]() Thanks in Advance, Gobinathan.S |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|