Grep was around long before POSIX, as were most of the unix
utils.
Grep was able to find text strings in mboxes without a POSIX
definition telling it that it was "broken".
I don't want it displaying random binary that throws my
terminal into weird modes, which is why I skip binary
files. To
I've used grep to search through my mbox-format emails for decades, but
I've run into a case where it seems to be ignore a text mailbox
because, I guess, it thinks it is "binary" (I think ignoring binary
is a default in my aliases file).
I used:
grep -Pr 'Game:\s+NCSOFT' *
and it ignored a
tag 30326 notabug
thanks
On 02/02/2018 01:30 PM, L. A. Walsh wrote:
> I've used grep to search through my mbox-format emails for decades, but
> I've run into a case where it seems to be ignore a text mailbox
> because, I guess, it thinks it is "binary"
Yes, that's correct.
> If I used "-Par" it
Paul Eggert wrote:
On 02/02/2018 03:16 PM, L A Walsh wrote:
It also used to be the default.
Single-byte locales also used to be the default. Times have changed, and
things have gotten more complicated. We don't change default behavior
for no reason, but we also don't keep the
Paul Eggert wrote:
On 02/02/2018 03:30 PM, L A Walsh wrote:
> most computer files (vs. user-files) are still single-byte.
That's because so many of them are ASCII. But ASCII files are not the
issue here. grep's behavior hasn't changed when operating on ASCII files
in typical locales. The
On 02/02/2018 12:09 PM, L A Walsh wrote:
Grep was able to find text strings in mboxes without a POSIX
definition telling it that it was "broken".
It's not a question of POSIX telling us what to do. It's a question of
what is a good thing for GNU grep to do, and making sure that this
behavior
On 02/02/2018 03:16 PM, L A Walsh wrote:
It also used to be the default.
Single-byte locales also used to be the default. Times have changed, and
things have gotten more complicated. We don't change default behavior
for no reason, but we also don't keep the default the same even when the
On 02/02/2018 03:30 PM, L A Walsh wrote:
most computer files (vs. user-files) are still single-byte.
That's because so many of them are ASCII. But ASCII files are not the
issue here. grep's behavior hasn't changed when operating on ASCII files
in typical locales. The issue is text using a
Paul Eggert wrote:
On 02/02/2018 12:09 PM, L A Walsh wrote:
Grep was able to find text strings in mboxes without a POSIX
definition telling it that it was "broken".
It's not a question of POSIX telling us what to do. It's a question of
what is a good thing for GNU grep to do, and