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

AW: Ascii file handling program



PureBytes Links

Trading Reference Links

Phil,

you might try the vi editor (a UNIX stalwart). It has regular expressions (a
powerful character handling method) built in. You would probably be able to
get the desired output with a simple one-line command.

Remember, though, that UNIX was character-based in those days, with no GUIs
available. For you to have at least some of the comforts of the 21st
century, I'd recommend you download "Lemmy" which is a slightly beefed-up
version of vi. Lemmy would have no problem with the size of your data,
either.

But of course the charm of this editor lies exactly in its character and
word manipulation power. After a little training, you can do all kinds of
things with your text - e.g., delete every second line, or reverse the word
order within all lines containing the string "beethoven", or add the string
"dow" after every occurrence of the string "win", but only between lines 4
and 55, and so on.

You can find it at www.thomer.com/thomer/vi/vi.html

As an alternative, the language PERL, too, has regular expressions built in.

Hope this helps.

Michael Suesserott


-----Ursprungliche Nachricht-----
Von: Phil Schuch [mailto:pschuch@xxxxxxxxxxx]
Gesendet: Wednesday, August 23, 2000 15:53
An: omega-list@xxxxxxxxxx
Betreff: Ascii file handling program


Hello list

Is anybody aware of a good ascii file handling program to deal with
large files? The file size is about 350MB with 2000000 records. I need
some basic functions as "search - replace", and character picks
depending on the "place" in the string,...

Thanks; I appreciate any suggestions.

Rgds
Phil