Modifying text in a large file
Modifying text in a large file
- Subject: Modifying text in a large file
- From: christian vick <email@hidden>
- Date: Mon, 20 Oct 2003 15:27:09 +0200
I want to search a string and then replace the entire line with another
string (or delete the line). This in a large text file (50 MB). If I use
'read file' the script errors with 'out of memory', so vanilla AS is not an
option here. I've searched Terminal 'apropos search'/'apropos replace', but
didn't find anything useful. Does someone know how to do it via command
line, so i can use 'do shell script'...?
Greetings
Christian
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.