: Thursday, January 03, 2008 4:04 PM
To: Perl Beginners
Subject: Re: removing duplicate lines across files.
Siva Prasad wrote:
>
> Hi Gurus,
Hello,
> I want to remove duplicate lines across files.
>
> Below is the detailed problem,
>
>
> I have file1
Siva Prasad wrote:
I want to remove duplicate lines across files.
Below is the detailed problem,
I have file1 file2,file3,file4,file5,
The lines in file1 are there in file2,file3,file4,file5 I want to
remove all the lines which are there in file1 from file2,file3,file4,file5.
Can anyb
Siva Prasad wrote:
Hi Gurus,
Hello,
I want to remove duplicate lines across files.
Below is the detailed problem,
I have file1 file2,file3,file4,file5,
The lines in file1 are there in file2,file3,file4,file5 I want to remove
all the lines which are there in file1 from file2,file3,file4,
Hi Gurus,
I want to remove duplicate lines across files.
Below is the detailed problem,
I have file1 file2,file3,file4,file5,
The lines in file1 are there in file2,file3,file4,file5 I want to remove
all the lines which are there in file1 from file2,file3,file4,file5.
Can
Andrew Gaffney wrote:
> John W. Krahn wrote:
> > Whenever you want unique values think "hash".
>
> Well, it would have been weird to have a hash with keys named 'NET USE F:
> SKYLINE\\SKYLINEF\r\n'.
No. It is not at all wierd to use hash for any of the puroses for which it is
well-suited.
A
On Dec 9, 2003, at 8:33 PM, Andrew Gaffney wrote:
John W. Krahn wrote:
Andrew Gaffney wrote:
I am writing a Perl script to automatically generate a netlogon.bat
file for Samba
whenever a user logs onto a domain. The only parameter that is
passes to it is the
username. My problem is that differen
John W. Krahn wrote:
Andrew Gaffney wrote:
I am writing a Perl script to automatically generate a netlogon.bat file for Samba
whenever a user logs onto a domain. The only parameter that is passes to it is the
username. My problem is that different groups get some of the same mappings. What I
real
Andrew Gaffney wrote:
>
> I am writing a Perl script to automatically generate a netlogon.bat file for Samba
> whenever a user logs onto a domain. The only parameter that is passes to it is the
> username. My problem is that different groups get some of the same mappings. What I
> really
> need t
Andrew Gaffney wrote:
>
> Rob Dixon wrote:
> >
> > Andrew Gaffney wrote:
> >
> > > I am writing a Perl script to automatically generate a netlogon.bat file for
> > > Samba
> > > whenever a user logs onto a domain. The only parameter that is passes to it is
> > > the
> > > username. My problem is
Rob Dixon wrote:
Andrew Gaffney wrote:
I am writing a Perl script to automatically generate a netlogon.bat file for Samba
whenever a user logs onto a domain. The only parameter that is passes to it is the
username. My problem is that different groups get some of the same mappings. What I
really
n
Andrew Gaffney wrote:
>
> I am writing a Perl script to automatically generate a netlogon.bat file for Samba
> whenever a user logs onto a domain. The only parameter that is passes to it is the
> username. My problem is that different groups get some of the same mappings. What I
> really
> need to
I am writing a Perl script to automatically generate a netlogon.bat file for Samba
whenever a user logs onto a domain. The only parameter that is passes to it is the
username. My problem is that different groups get some of the same mappings. What I really
need to do is filter out duplicate line
Hi Jenda :-)
Jenda Krynicky wrote:
>
> Is it safe to assume that all duplicates are together like this? If
> so all you have to do is to
> 1) read the file line by line
> 2) only print the line you just read if it's different from the last
> one
> 3) remember the line
>
ynicky [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 13:33
To: [EMAIL PROTECTED]
Subject: Re: Removing duplicate lines.
From: [EMAIL PROTECTED]
> I have a text file which contains a list of companies:
>
> NORTH DOWN AND ARDS INSTITUTE
> NOTTINGHAM HEALTH AUTHORITY
> 1ST CONTACT GR
From: [EMAIL PROTECTED]
> I have a text file which contains a list of companies:
>
> NORTH DOWN AND ARDS INSTITUTE
> NOTTINGHAM HEALTH AUTHORITY
> 1ST CONTACT GROUP LTD
> 1ST CONTACT GROUP LTD
> 1ST CONTACT GROUP LTD
> 1ST CONTACT GROUP LTD
> 4D TELECOM & KINGSTON INMEDIA
> A E COOK LTD
> A E COOK
Jonathan Musto wrote at Mon, 21 Jul 2003 13:11:10 +0100:
> I have a text file which contains a list of companies:
>
> NORTH DOWN AND ARDS INSTITUTE
> NOTTINGHAM HEALTH AUTHORITY
> 1ST CONTACT GROUP LTD
> 1ST CONTACT GROUP LTD
> 1ST CONTACT GROUP LTD
> 1ST CONTACT GROUP LTD
> 4D TELECOM & KINGSTO
I have a text file which contains a list of companies:
NORTH DOWN AND ARDS INSTITUTE
NOTTINGHAM HEALTH AUTHORITY
1ST CONTACT GROUP LTD
1ST CONTACT GROUP LTD
1ST CONTACT GROUP LTD
1ST CONTACT GROUP LTD
4D TELECOM & KINGSTON INMEDIA
A E COOK LTD
A E COOK LTD
etc..
How can a write a simple p
17 matches
Mail list logo