Re: [OT] perl regex problem

2001-02-06 Thread Juan Fuentes
* Hunter Marshall ([EMAIL PROTECTED]) wrote: > I am a long time debian and perl user. But obviously long enough! > Forgive the slight misuse of the list, but can anyone shed light > on what I'm doing wrong in this attempt to find \n\n in a text file > with perl? I'm sure I've done this before. >

Re: [OT] perl regex problem

2001-02-06 Thread Erdmut Pfeifer
On Mon, Feb 05, 2001 at 06:31:03PM -0800, Hunter Marshall wrote: > I am a long time debian and perl user. But obviously long enough! > Forgive the slight misuse of the list, but can anyone shed light > on what I'm doing wrong in this attempt to find \n\n in a text file > with perl? I'm sure I've d

Re: [OT] perl regex problem

2001-02-05 Thread Matthew Dalton
Hunter Marshall wrote: > [EMAIL PROTECTED]:/tmp > -> od -x junk > 000 6968 0a0a 0a0a 0a0a 000a > 011 > [EMAIL PROTECTED]:/tmp > -> perl -n -e 'print "yup\n" if /\x0a/;' junk > yup > yup > yup > yup > yup > yup > yup > [EMAIL PROTECTED]:/tmp > -> perl -n -e 'print "yup\n" if /\x0a\x0a/;' jun

[OT] perl regex problem

2001-02-05 Thread Hunter Marshall
I am a long time debian and perl user. But obviously long enough! Forgive the slight misuse of the list, but can anyone shed light on what I'm doing wrong in this attempt to find \n\n in a text file with perl? I'm sure I've done this before. Thanks hunter +++