home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!may
- From: may@Apple.COM (Patrick May)
- Newsgroups: su.vaxhax,apple.general,comp.editors
- Subject: Re: vi help
- Message-ID: <71739@apple.Apple.COM>
- Date: 27 Aug 92 19:29:17 GMT
- References: <71735@apple.Apple.COM>
- Distribution: ba
- Organization: Apple Computer Inc., Cupertino, CA
- Lines: 21
-
- In article <71735@apple.Apple.COM> spud@apple.com (Dave "Spud" Kalin) writes:
- >
- >Hi there everybody! I don't know where to post this, so hopefully someone
- >will see it here and/or post it to the right place.
- >
- >Anyway, I need some help with vi (or another editor on the vax). I have
- >managed to accumulate a 14 megabyte file (yes, 14MB) in my directory, and
- >I'd like to use an editor to strip out the deadwood bytes.
- >
- >However, when I try to use vi, it hangs while opening the file. Is there s
- >vax editor that can handle files of this size?
-
- I believe vi attempts to load the whole file in memory, although I'm
- not certain. That would account for the behavior you describe. Your only
- other option as far as editors go would be to use emacs. Beware that the
- commands are not terribly intuitive at first (but it kicks vi's butt :-).
-
- If you know what you want to remove from the file you could use
- sed, awk, or C. Let me know if you need a hand (415-852-1089).
-
- Patrick May
-