![]() |
|
|
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 |
| limit of command length | Anta | UNIX for Dummies Questions & Answers | 2 | 10-11-2008 05:08 PM |
| Is the Length of User ID for AIX Limit to 8 Characters? | meihua_t | AIX | 2 | 04-07-2008 03:04 AM |
| line length | Sreejith_VK | Shell Programming and Scripting | 4 | 03-10-2008 10:46 AM |
| Grep line length constraint problem - help! | jvander | Shell Programming and Scripting | 23 | 05-09-2005 09:44 AM |
| Command line buffer limit? | kornshellmaven | UNIX for Dummies Questions & Answers | 7 | 01-07-2003 11:59 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
grep line length limit
Hi Friends,
I am having a funny problem with grep. When I run grep 'expr' file.txt things work fine. But when try to get the line number using the -n option, i.e, grep -n 'expr' file.txt I get a message, "grep: 0652-226 Maximum line length of 2048 exceeded." If the line has more than 2048 characters, then I should have got the error in the first case also. Can somebody please explain why the error is only with the -n option? I am running on AIX 5.1.0.0 Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|