unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* editing large files
@ 2005-10-21 22:53 Sebastian Luque
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Luque @ 2005-10-21 22:53 UTC (permalink / raw)


Hi,

I need to edit some relatively large files (~ 200 Mb), so I'm exceeding
the maximum buffer size allowed by my Emacs (GNU Emacs 21.4.1
(i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-10-02 on
trouble, modified by Debian).  Searching for solutions it seems that the
only way to do this would be to use a 64-bit machine and Emacs.  Is this
correct?  What alternatives are people using on a 32-bit machine?


Cheers,

-- 
Sebastian P. Luque

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: editing large files
       [not found] <mailman.12184.1129935330.20277.help-gnu-emacs@gnu.org>
@ 2005-10-21 23:23 ` Pascal Bourguignon
  2005-10-22  7:38 ` David Kastrup
  2005-10-22  9:28 ` Tim X
  2 siblings, 0 replies; 5+ messages in thread
From: Pascal Bourguignon @ 2005-10-21 23:23 UTC (permalink / raw)


Sebastian Luque <spluque@gmail.com> writes:

> Hi,
>
> I need to edit some relatively large files (~ 200 Mb), so I'm exceeding
> the maximum buffer size allowed by my Emacs (GNU Emacs 21.4.1
> (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-10-02 on
> trouble, modified by Debian).  Searching for solutions it seems that the
> only way to do this would be to use a 64-bit machine and Emacs.  Is this
> correct?  What alternatives are people using on a 32-bit machine?

split;emacs;cat

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: editing large files
       [not found] <mailman.12184.1129935330.20277.help-gnu-emacs@gnu.org>
  2005-10-21 23:23 ` Pascal Bourguignon
@ 2005-10-22  7:38 ` David Kastrup
  2005-10-22  9:28 ` Tim X
  2 siblings, 0 replies; 5+ messages in thread
From: David Kastrup @ 2005-10-22  7:38 UTC (permalink / raw)


Sebastian Luque <spluque@gmail.com> writes:

> I need to edit some relatively large files (~ 200 Mb), so I'm exceeding
> the maximum buffer size allowed by my Emacs (GNU Emacs 21.4.1
> (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-10-02 on
> trouble, modified by Debian).  Searching for solutions it seems that the
> only way to do this would be to use a 64-bit machine and Emacs.  Is this
> correct?  What alternatives are people using on a 32-bit machine?

emacs-snapshot has a max buffer size of 256MB, xemacs of 1GB (IIRC).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: editing large files
       [not found] <mailman.12184.1129935330.20277.help-gnu-emacs@gnu.org>
  2005-10-21 23:23 ` Pascal Bourguignon
  2005-10-22  7:38 ` David Kastrup
@ 2005-10-22  9:28 ` Tim X
  2005-10-22 16:56   ` Sebastian Luque
  2 siblings, 1 reply; 5+ messages in thread
From: Tim X @ 2005-10-22  9:28 UTC (permalink / raw)


Sebastian Luque <spluque@gmail.com> writes:

> Hi,
> 
> I need to edit some relatively large files (~ 200 Mb), so I'm exceeding
> the maximum buffer size allowed by my Emacs (GNU Emacs 21.4.1
> (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-10-02 on
> trouble, modified by Debian).  Searching for solutions it seems that the
> only way to do this would be to use a 64-bit machine and Emacs.  Is this
> correct?  What alternatives are people using on a 32-bit machine?
> 
> 

For large files, I usually just split them up, do my editing and then
join them back together again. If the changes I need to make are
repetitive or fairly easily specified in a programatic fashion, I just
use sed.

Tim


-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: editing large files
  2005-10-22  9:28 ` Tim X
@ 2005-10-22 16:56   ` Sebastian Luque
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Luque @ 2005-10-22 16:56 UTC (permalink / raw)


Tim X <timx@spamto.devnul.com> wrote:

[...]

> For large files, I usually just split them up, do my editing and then
> join them back together again. If the changes I need to make are
> repetitive or fairly easily specified in a programatic fashion, I just
> use sed.

Thanks to all of you for your suggestions.  Indeed, I ended up using AWK,
since they were all comma-delimited files (tables).


Cheers,

-- 
Sebastian P. Luque

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-22 16:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21 22:53 editing large files Sebastian Luque
     [not found] <mailman.12184.1129935330.20277.help-gnu-emacs@gnu.org>
2005-10-21 23:23 ` Pascal Bourguignon
2005-10-22  7:38 ` David Kastrup
2005-10-22  9:28 ` Tim X
2005-10-22 16:56   ` Sebastian Luque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).