in reply to Re: Unique List of Common Characters Between Two Strings
in thread Unique List of Common Characters Between Two Strings

de-merphq,
...I think you can simplify the grep a little

I thought about that too at first but it is flawed thinking. If a letter appears more than once then it can go from 0 to a negative number which will again start returning true values. The intention was to only produce a unique list.

Cheers - L~R

  • Comment on Re^2: Unique List of Common Characters Between Two Strings

Replies are listed 'Best First'.
Re^3: Unique List of Common Characters Between Two Strings
by de-merphq (Beadle) on Jan 12, 2005 at 08:55 UTC

    Yeah sorry, the >0 should be there.. (i updated.)

    ---
    alter ego of demerphq