![]() |
|
|
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 to end of line with SED | coldcanuck | Shell Programming and Scripting | 7 | 07-01-2008 09:29 AM |
| how to delete text from line starting pattern1 up to line before pattern2? | repudi8or | Shell Programming and Scripting | 5 | 04-15-2008 10:25 PM |
| how to delete line with matching text and line immediately after | orahi001 | UNIX for Dummies Questions & Answers | 6 | 01-15-2008 12:34 AM |
| delete a line based on first character of the line | borncrazy | UNIX for Dummies Questions & Answers | 2 | 12-06-2005 03:27 PM |
| delete some line | alisev | UNIX for Dummies Questions & Answers | 2 | 03-29-2002 11:23 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
delete line
Hi,
One of the directory have a lot of files (some sample below), I will like to list out all BACKUPFILESEQ*.archived ONLY and output into result.txt. All of the file after 5 digit no need to output into result.txt (I only need the name like BACKUPFILESEQ%%%%%.archived). /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04047.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04048.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04049.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04050.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04051.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04052.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04053.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04054.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04055.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04055_20061019-10:25:37_20061019-10:25:37.FID_BAD.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04056.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04057.archived /appl/CH_DATA/archive/BACKUP/CACHE/BACKUPFILESEQ04058.archived Please help!! Thx!!! |
| Bookmarks |
| Tags |
| sed delete line |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|