in reply to Re: Selecting text between given words (multi-lines (/n) and multiple occurrences)
in thread Selecting text between given words (multi-lines (/n) and multiple occurrences)

Zentare, Thanks for the help. I created a little script that works fine with your code but if I enters a begin/end-string with spaces (e.g "begin log1", "end log1") it takes the two first words (e.g begin & log1) as the begin and the end words. The use of quotation marks does not work. Thx, Firewall
  • Comment on Re: Re: Selecting text between given words (multi-lines (/n) and multiple occurrences)

Replies are listed 'Best First'.
Re: Re: Re: Selecting text between given words (multi-lines (/n) and multiple occurrences)
by nylon (Acolyte) on Sep 01, 2003 at 05:44 UTC
    Solved the problem :-) I just used getopt with "". That works fine.

    Thx everyone,

    Nylon