[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] heading a large file

From: Chris McMahan
Subject: Re: [h-e-w] heading a large file
Date: Tue, 6 Jan 2004 14:54:31 -0500

I've been in similar situations, and emacs chokes when you run out of

I used the program split with a value of 100 meg for each

Usage: split [OPTION] [INPUT [PREFIX]]
Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default
PREFIX is `x'.  With no INPUT, or when INPUT is -, read standard input.

Mandatory arguments to long options are mandatory for short options too.
  -a, --suffix-length=N   use suffixes of length N (default 2)
  -b, --bytes=SIZE        put SIZE bytes per output file
  -C, --line-bytes=SIZE   put at most SIZE bytes of lines per output file
  -l, --lines=NUMBER      put NUMBER lines per output file
      --verbose           print a diagnostic to standard error just
                            before each output file is opened
      --help     display this help and exit
      --version  output version information and exit

SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.

Michael R. Wolf writes:
>"Eric S. Johansson" <address@hidden> writes:
>> I need to edit large files occasionally (approximately 1.1 GB) and I
>> would appreciate a pointer to any Emacs packages that might help.
>> Splitting files to components of less than 7 MB each creates just too
>> many pieces.  I would prefer to keep things in one contiguous chunk if
>> possible.
>Why do you feel that you need to split them?
>I've used emacs to edit large files, even binary files, directly. I'll
>admit that I haven't needed to edit such large ones, so my mileage
>obviously varies, but I am not aware of any inherent limit in emacs
>that would prevent you from editing the whole file direcly.
>Michael R. Wolf
>    All mammals learn by playing!
>        address@hidden

    Chris McMahan | address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]