The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
command to find out total size of a specific file size (spread over the server) abhinov SUN Solaris 3 08-08-2007 06:48 AM
Help with editing file dsravan Shell Programming and Scripting 4 01-31-2007 01:59 PM
File editing using awk rinku11 Shell Programming and Scripting 2 11-23-2006 11:34 AM
Strange difference in file size when copying LARGE file.. 0ktalmagik Filesystems, Disks and Memory 1 06-03-2006 07:34 PM
prevent file size is too large ust UNIX for Dummies Questions & Answers 2 03-10-2005 02:04 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-04-2006
Rock Rock is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 23
Editing a large size file

I would like to edit a doc which is large file size. I can't use "vi" command due to out of memory.


$ vi large.dat

ex: 0602-101 Out of memory saving lines for undo.


Please help. Thanks.
  #2 (permalink)  
Old 12-04-2006
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,119
define 'edit'?

can you use 'sed/ex' by scripting your 'edits'?
  #3 (permalink)  
Old 12-04-2006
Rock Rock is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 23
Similiar error prompted by using 'ex'

$ ex large.dat
"large.dat"ex: 0602-026 No more memory for the append. Too many lines in the file.


I would like to amend the first few matched pattern only in the large file. The other matched pattern at the end should remain unchanged. Can 'sed' help?

Thanks.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0