![]() |
|
|
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 |
| sed: Find start of pattern and extract text to end of line, including the pattern | TestTomas | Shell Programming and Scripting | 5 | 05-27-2009 12:16 PM |
| pattern extract | priyam | Shell Programming and Scripting | 6 | 10-20-2008 11:15 AM |
| nawk-how count the number of occurances of a pattern, when don't know the pattern | cyber111 | Shell Programming and Scripting | 2 | 05-11-2008 04:00 AM |
| Extract the Pattern | aajan | UNIX for Dummies Questions & Answers | 6 | 08-08-2007 05:47 AM |
| Please help! Sed extract a pattern | zhen | Shell Programming and Scripting | 11 | 09-18-2006 01:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to extract the number from the pattern
Hi I have a file with the following entries: Code:
cm2363db cm2445db cm2618db Is there a awk or sed command which would allow me to extract only the numbers from this file as output, so the output would look like this: Code:
2363 2445 2618 Thanks a lot -A Last edited by vgersh99; 10-02-2009 at 02:03 PM.. Reason: code tags, PLEASE! |
| Bits Awarded / Charged to aoussenko for this Post | |||
| Date | User | Comment | Amount |
| 10-02-2009 | vgersh99 | added code tags - charged 5K bits | -5,000 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|