
Question: Extracting text from a file.
: Hi,
^^^
: What would be a good way of extracting text which falls between two
: given strings from a file?
: e.g. in this post I want to extract text between say, "Hi" and "--".
: Thanks.
: --
^^^
it's quite obvious what you think you need it for:
you wold need quite an intelligent program to distinguish any greetings
from other lines
but perhaps it can be easier just to grep out those lines that begin
with Subject, Newsgroups, or References ...