![]() |
|
|
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 |
| How to connect DB2 table using shell script | dtidke | Shell Programming and Scripting | 0 | 06-24-2008 06:18 AM |
| First Script: Query every table with column xxx. | Iniquity | Shell Programming and Scripting | 1 | 02-06-2007 04:15 PM |
| Alter Table Shell Script | ankitgupta | Shell Programming and Scripting | 2 | 10-06-2006 07:01 AM |
| Reading a table in a shell script | luiscarvalheiro | Shell Programming and Scripting | 13 | 08-10-2006 07:16 PM |
| unable to allocate enough cells for gray scale | raz | SUN Solaris | 1 | 10-04-2004 02:47 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Deleting table cells in a script
I'd like to use sed or awk to do this but I'm weak on both along with RE. Looking for a way with sed or awk to count for the 7th table data within a table row and if the condition is met to delete "<td>and everything in between </td>". Since the table header start on a specific line each time, that I can delete using sed easy. Stumped on how to get rid of the other data in that column. Also, the table the script retrieves may vary in length and this is the reason why I'd like it scripted as I've described. If you have any better ideas, I'm open to them. For those that like gui's here's a simple diagram: Code:
qrstuvwxyz qrstuvwxyz qrstuvwxyz Code:
qrstuvwyz qrstuvwyz qrstuvwyz |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|