bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34020] RFE: Improve handling of sparse files


From: Paul Eggert
Subject: [bug #34020] RFE: Improve handling of sparse files
Date: Wed, 21 Dec 2011 19:01:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

Follow-up Comment #2, bug #34020 (project grep):

How about the following idea instead (it is simpler
and should be more efficient too):

Change 'grep' so that by default it ignores all NULs
in binary input files.  POSIX allows this behavior, and it
is typically far more useful than what grep does now.
People who really want to examine the NULs can use
the -a option as before.

If we see a file with holes, treat it as binary, and
ignore the holes by default.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34020>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]