![]() |
|
|||||||
| Home | Forums | Register | Rules & FAQ | Donate | Members List | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a technical question, post it here. All UNIX and Linux Newbies Welcome !! |
![]() |
|
|
Submit Tools | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Lines too long error
Hi Gurus,
I have a big file having around 5000 lines. What I need to do is as below. $cat myfile aaaa bbbb ccc ddd ... I want the output to be as below: 'aaaa,'bbbb','cccc'.... For this I have written something like this code: vi sac.txt |nawk '{printf NR","}'>ss code: But here the problem is when I try to open the file "ss", it says "Lines to long" Please helpl me!!!! |
| Forum Sponsor |
|
|
|
|||
|
vi, ed and most command line utilities have a line length limit. Your file, ss, has a line that is too long to read.
1. make the lines shorter 2. use something else to edit the file |
| Forum Sponsor |
|
|
|
|||
|
Quote:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on ksh and sql..getting error as is too long. maximum size is 240 characters." | pooga17 | UNIX for Advanced & Expert Users | 1 | 02-06-2008 03:56 AM |
| removing lines in a too long file | Goodfella | UNIX for Dummies Questions & Answers | 4 | 02-04-2008 07:37 AM |
| arguments too long error | kburrows | Shell Programming and Scripting | 0 | 07-21-2006 10:35 AM |
| Argument list too long - Shell error | dad5119 | Shell Programming and Scripting | 8 | 03-03-2006 01:57 PM |
| Re: Long command lines | enoch | Shell Programming and Scripting | 4 | 05-22-2002 11:04 AM |