Re: Parsing a large file

From: Date: Fri, 13 Jan 2006 14:55:37 +0000
Subject: Re: Parsing a large file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228564@lists.php.net to get a copy of this message
Wolf wrote:
Windows server, though I may dump it to linux to get my smaller file, however not sure my admin would like that. :) Get a Windows build of grep (and other useful stuff) here: http://unxutils.sourceforge.net/
Albert wrote:
cat <filename> | grep <string> > <newfile> Why cat? Sorry, but this is one of my pet hates! The following does the same but in one process instead of two.
grep [string] [filename] > [newfile] -Stut

« previous php.general (#228564) next »