* 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.
>
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
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
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
+++
4 matches
Mail list logo