![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trying to remove '^M' characters from a file. | Krispy | Shell Programming and Scripting | 13 | 05-12-2009 06:46 PM |
| sed remove last 10 characters of a line start from 3rd line | minifish | Shell Programming and Scripting | 7 | 03-26-2008 04:42 PM |
| How to remove Characters before '~' | Amey Joshi | UNIX for Dummies Questions & Answers | 4 | 01-07-2008 06:43 AM |
| Find lines greater than 80 characters in a file | mrgubbala | Shell Programming and Scripting | 8 | 03-11-2007 12:51 AM |
| Remove control characters | aravind_mg | UNIX for Dummies Questions & Answers | 5 | 10-02-2002 02:07 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
still getting error.
Here is what i am trying to do.
awk ' length($0) < 3000 ' access.050531.log |wc -l awk: record `64.43.232.10 - - [31...' too long record number 58134 58134 Still it gets to that line and stops parsing log file. Thanks, Naren |
|
|||||
|
Quote:
How the about the sed solution ? Will that fail ? Code:
sed '/^.\{3000\}/d' inputfile
naren_14, could you try that ? Vino |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|