Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 13:32:18 +0000
From:      Ceri <ceri@techsupport.co.uk>
To:        Steven A <salyari@cs.uchicago.edu>
Cc:        parv <parv_@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: PERL way too slow on cat operation; me wonders what is going on
Message-ID:  <20020201133218.B440@cartman.private.techsupport.co.uk>
In-Reply-To: <20020131230950.B15426@abyss.cs.uchicago.edu>; from salyari@cs.uchicago.edu on Thu, Jan 31, 2002 at 11:09:50PM -0600
References:  <20020131212634.A13452@abyss.cs.uchicago.edu> <20020201050637.GA4068@moo.holy.cow> <20020131230950.B15426@abyss.cs.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 31, 2002 at 11:09:50PM -0600, Steven A said:
> yea it is a typo
> 
> oops
> 
> this doesnt change anything, i still have the problem
> 
> 
> cat 80megfile.ps | perl cat.pl > output.ps

What about 

cat 80megfile.ps | perl -pe '' > output.ps

?

That's gotta be the easiest round of perl golf I ever played.

Ceri


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201133218.B440>