Re: remove duplicate lines (OT)

2005-05-27 Thread John Doe
Am Samstag, 28. Mai 2005 00.06 schrieb Bakken, Luke: > > $ cat marc21textfile | uniq > outputfile > > Where's Randal for a UUOC award? Ok, for all using perl for everything and not beeing experienced with cmdline tools as me: $ uniq marc21textfile outputfile "Useless Use Of Cat" (I read the

RE: remove duplicate lines (OT)

2005-05-27 Thread Bakken, Luke
> $ cat marc21textfile | uniq > outputfile Where's Randal for a UUOC award? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: remove duplicate lines

2005-05-27 Thread John Doe
Am Freitag, 27. Mai 2005 23.31 schrieb Eric Walker: > On Friday 27 May 2005 01:22 pm, John Doe wrote: > > Am Freitag, 27. Mai 2005 17.15 schrieb Eric Walker: > > > Can't you run uniq from the command prompt to get rid of the duplicate > > > lines? > > > > > > perlnewbie.. > > > > [...] > > > > Yes

Re: remove duplicate lines

2005-05-27 Thread Eric Walker
On Friday 27 May 2005 01:22 pm, John Doe wrote: > Am Freitag, 27. Mai 2005 17.15 schrieb Eric Walker: > > Can't you run uniq from the command prompt to get rid of the duplicate > > lines? > > > > perlnewbie.. > > [...] > > Yes I can, > > $ cat marc21textfile | uniq > outputfile > > but the OP expl

Re: remove duplicate lines

2005-05-27 Thread John Doe
Am Freitag, 27. Mai 2005 17.15 schrieb Eric Walker: > Can't you run uniq from the command prompt to get rid of the duplicate > lines? > > perlnewbie.. [...] Yes I can, $ cat marc21textfile | uniq > outputfile but the OP explicitly wanted a perl script and states > For now, I just want to rem

char display on z/OS

2005-05-27 Thread rajarshi das
Hi, I am running this on z/OS and perl-5.8.6. $a = 128; $b = 256; for($i=$a;$i<=$b;$i++) { $str = join "",$str, pack 'U*',$i; } print "str : $str\n"; If I print $str and do a od -tc -tx, I notice that the chars corresponding to values 128 through 159 show up as single (ebcdic) bytes whereas

Re: remove duplicate lines

2005-05-27 Thread Eric Walker
Can't you run uniq from the command prompt to get rid of the duplicate lines? perlnewbie.. On Friday 27 May 2005 09:07 am, John Doe wrote: > Hello > > As an addition to my last post: > > Am Freitag, 27. Mai 2005 13.56 schrieb Jack Daniels (Butch): > > Wow, I'm really confused. I'm trying to remo

Re: remove duplicate lines

2005-05-27 Thread John Doe
Hello As an addition to my last post: Am Freitag, 27. Mai 2005 13.56 schrieb Jack Daniels (Butch): > Wow, I'm really confused. I'm trying to remove duplicate lines from a > marc21 text file. I have spent countless hours searching for scripts etc. > > What I find frustrating while trying to learn

Setting up the DBD::ODBC module

2005-05-27 Thread Smith, Sharon Michelle (OSLO)
Title: Message Hi,   I'm fairly new to Perl in general, so I'm having extra difficulty with my question.  I have Perl5 ver. 5.such-and-such installed on my machine.  I then also installed the Perl DBI (Database Interface).  I'd like to install the DBD::ODBC module, but I'm finding little hel

Re: remove duplicate lines

2005-05-27 Thread John Doe
Am Freitag, 27. Mai 2005 13.56 schrieb Jack Daniels (Butch): > Wow, I'm really confused. I'm trying to remove duplicate lines from a > marc21 text file. I have spent countless hours searching for scripts etc. > > What I find frustrating while trying to learn Perl, is that most solutions > assume y

remove duplicate lines

2005-05-27 Thread Jack Daniels (Butch)
Wow, I'm really confused. I'm trying to remove duplicate lines from a marc21 text file. I have spent countless hours searching for scripts etc. What I find frustrating while trying to learn Perl, is that most solutions assume you know what to do. For example, someone gives the code to find an

[OT] Is there a policy regarding subscrjbers with challenge/respo nse mail filters?

2005-05-27 Thread Thomas Bätzler
Does this get on other people's nerves, too: -Original Message- From: Edgard Padilla [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 9:25 AM To: [EMAIL PROTECTED] Subject: Re: RE: is there a simple way get the current line number of processe The recipient of the message you recently

Re: is there a simple way get the current line number of processed file?

2005-05-27 Thread luhao
On Fri, May 27, 2005 at 10:31:40AM +0800, bingfeng zhao wrote: > To parse a regular text file, I should report the line number of parsed file > when error occured. I want to know whether perl provide a shortcut way or > magic '$?' indicate this. I must counting myself if not. > > Thanks in advanc