-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Monday 2007-12-24 at 12:19 -0600, Afan Pasalic wrote:
Randall R Schulz wrote:
On Monday 24 December 2007 09:49, Afan Pasalic wrote:
> hi,
> 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".
I would report that as a bug - unless you really have too little memory
Try fgrep. It doesn't use regular expression matching (and your "word"
is a simple fixed string, so it will work for that).
"grep: memory exhausted" again
:(
Try
cat file.txt | grep -i "word"
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHcAXltTMYHG2NR9URAon8AJ9Lt7onQGcIftj/qwHMDYc7Sqx+uACeNzaA
d8/FTv7RwjuvgxBhRYkL/Ig=
=coRm
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]