Re: help slurping a file-- Solved -- Thanks for responses
- From: japhy@xxxxxxxxxxxx (Jeff 'japhy' Pinyan)
- Date: Fri, 28 Oct 2005 09:09:02 -0400 (EDT)
On Oct 28, Renee Halbrook said:
My perl interpreter display does not recognize "\r" for a newline character for standard out, so it simply printed the same line over on top of the previous line, making it look like it was only reading one line total. The slurping was working fine, but the display was not what I anticipating.
That's not Perl's issue. That's your terminal's issue. And it's not an "issue", because that's what \r is supposed to do. \r is a carriage return, which only means the cursor is brought back to the beginning of the line.
(Except maybe on Macs, I don't know. That's weird. I don't use a Mac, though, so I can't be sure.)
-- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart .
- Follow-Ups:
- Re: help slurping a file-- Solved -- Thanks for responses
- From: Xavier Noria
- Re: help slurping a file-- Solved -- Thanks for responses
- References:
- help slurping a file
- From: Renee Halbrook
- Re: help slurping a file
- From: John W. Krahn
- Re: help slurping a file-- Solved -- Thanks for responses
- From: Renee Halbrook
- help slurping a file
- Prev by Date: Re: help slurping a file-- Solved -- Thanks for responses
- Next by Date: Re: help slurping a file-- Solved -- Thanks for responses
- Previous by thread: Re: help slurping a file-- Solved -- Thanks for responses
- Next by thread: Re: help slurping a file-- Solved -- Thanks for responses
- Index(es):
Relevant Pages
|