![]() |
|
|
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 lines from file | bluemoon1 | Shell Programming and Scripting | 9 | 11-09-2007 01:40 AM |
| Expect: Parsing/evaluating lines of numbers | kajkaj | Shell Programming and Scripting | 0 | 09-13-2007 05:24 AM |
| how to remove files with only numbers as file names? | praveen_indramo | Shell Programming and Scripting | 6 | 06-07-2007 10:13 AM |
| Remove lines with n columns | Krispy | Shell Programming and Scripting | 2 | 11-10-2006 05:41 AM |
| remove unnecessary lines | nazri | UNIX for Dummies Questions & Answers | 3 | 11-23-2001 08:06 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to remove all lines with something other than numbers
Hi,
How would I get rid of lines having something else than numbers (such as tabs,white space, special characters, empty line, letters). So I have big file with numers as follows: 12345678901 23456789012 32343678901 42345638901 52345678901 and I sometimes the file might contain some stuff not belonging there. So if someone could help me with some nice one-liner to remove all lines that does not follow the format I want: 11 numbers and nothing else. Thanks, //Juha |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|