in reply to Re^4: How to check lines that start with the same word then delete one of them
in thread How to check lines that start with the same word then delete one of them

Cool - glad we're in agreement.

You are quite right about limiting the chances of stomping on $1 and friends, of course. The test script could be polished no doubt but I didn't want to spend/waste time on that before agnes00 confirmed that this does actually solve the problem. The requirements as stated were a little wooly.

  • Comment on Re^5: How to check lines that start with the same word then delete one of them

Replies are listed 'Best First'.
Re^6: How to check lines that start with the same word then delete one of them
by LanX (Saint) on Apr 10, 2020 at 18:35 UTC
    > I didn't want to spend/waste time on that ... The requirements as stated were a little wooly.

    That's why I thanked you for implementing it. :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery