![]() |
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 |
| Exception Handling | bertpereira | Shell Programming and Scripting | 5 | 01-14-2009 09:28 PM |
| Sorting a column in this scenario | krishnan_6015@y | Shell Programming and Scripting | 1 | 11-27-2007 09:34 AM |
| Weird scenario with Awk | Khoomfire | UNIX for Advanced & Expert Users | 4 | 10-29-2007 12:25 AM |
| Signal Handling | themezzaman | High Level Programming | 3 | 07-12-2006 10:05 PM |
| help in handling loops | borncrazy | Shell Programming and Scripting | 1 | 08-02-2004 05:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Quote:
Code:
awk '/<TAG>/,/<\/TAG>/ { gsub("<[^>]+>",""); if( $0 ) print } ' filename
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|