Paul Johnson said:
> On Wed, Oct 06, 2004 at 01:42:43PM +0100, Gavin Henry wrote:
>
>> I want to read in a file and print repeated lines like:
>>
>> yum
>> yum
>>
>> or
>>
>> xorg-x11
>> xorg-x11
>>
>>
>> What's the best way to do this? A RE or a module from CPAN?
>
> uniq -d
>
> Or, if you aren't
On Wed, Oct 06, 2004 at 01:42:43PM +0100, Gavin Henry wrote:
> I want to read in a file and print repeated lines like:
>
> yum
> yum
>
> or
>
> xorg-x11
> xorg-x11
>
>
> What's the best way to do this? A RE or a module from CPAN?
uniq -d
Or, if you aren't on a system where that is available
Sorry to post again on a new thread, but I think I need to clear my basci
problem up.
I want to read in a file and print repeated lines like:
yum
yum
or
xorg-x11
xorg-x11
What's the best way to do this? A RE or a module from CPAN?
--
Just getting into the best language ever...
Fancy a [EMA