![]() |
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 |
| Remove html tags with bash | dejavu88 | Shell Programming and Scripting | 4 | 05-22-2008 01:58 PM |
| How to supplement HTML tags with SED | DocBrewer | Shell Programming and Scripting | 3 | 04-25-2008 09:40 AM |
| html tags | dunryc | Shell Programming and Scripting | 3 | 11-29-2007 06:14 PM |
| Automated replacement of HTML Tags | nem_kirk | SUN Solaris | 1 | 11-17-2005 01:24 AM |
| unsing sed to strip html tags - help | zap | Shell Programming and Scripting | 3 | 04-18-2004 04:03 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
removing html tags via parameter expansion
Hi all-
I have a variable that contains a web page: echo $STUFF <html> <head> <title>my page</title></head> <body> blah blah etc.. Can I use the shell's parameter expansion abilities to remove just the tags? I thought that FIXHTML=${STUFF//<*>/} might do it, but it didn't seem to work. Do I need to escape the < and > or something like that? Thanks!! -Rev66 |
|
||||
|
I had considered doing that exact thing, but I'd really like to avoid the additional process if possible by doing it in the shell...
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|