I have a text file in which may have multiple lines of text. Exactly one line of text will have the following sequence:
XMLcpLINK: ########
where the sequence of #'s can be any character or symbol.
What I need to do is read each line until I find XMLcpLINK:
and save the sequence after it into a variable. Can anyone point me to sufficient UNIX references to do this?