in reply to Re5: Estimating Vocabulary
in thread Estimating Vocabulary

I can't duplicate your problem. It should be impossible since $ARGV[0]-@lines would be negative while rand($line-$.) is positive.

Replies are listed 'Best First'.
Re7: Estimating Vocabulary
by belg4mit (Prior) on Mar 28, 2002 at 02:16 UTC
    heh heh heh, woops. just re-rechecked and it seems I somehow managed to merge the top of yours with the bottom (while) of mine. Doh!

    --
    perl -pe "s/\b;([st])/'\1/mg"