-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Monday 2007-12-24 at 11:49 -0600, Afan Pasalic wrote:

I have 1.6 GB big text file and I have to find if there is a specific word in the file.
Every time I try
$> grep -i "word" file.txt
I'll get message: "grep: memory exhausted".

Try:

grep --binary-files=binay  -i "word" file.txt

Or perhaps " --binary-files=without-match". Or maybe "--binary". I haven't tested any of them.


- -- Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHcE0GtTMYHG2NR9URAsuIAJ9nIQ1woQX+81pkjcQW5ZcmQAPpaACgiGr3
ZBVI0WyTX8a7JRcPwx0oQbQ=
=ceBG
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to