[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36820: grep "[[:cntrl:]]" /proc/1/cmdline works on 2.20 but not 3.3
From: |
Jeff Chua |
Subject: |
bug#36820: grep "[[:cntrl:]]" /proc/1/cmdline works on 2.20 but not 3.3 |
Date: |
Mon, 29 Jul 2019 19:30:36 +0800 |
> No, as that would mean the default output of grep would not be text, and
this could mess up terminals etc. This is partly why -a has never been
the default. If you want -a behavior you can use -a.
Ok, thanks for the clarification.
My best.,
Jeff
On Mon, Jul 29, 2019 at 6:59 AM Paul Eggert <address@hidden> wrote:
> On 7/28/19 3:04 AM, Jeff Chua wrote:
> > Then if it's binary file, grep should default to "-a"
>
> No, as that would mean the default output of grep would not be text, and
> this could mess up terminals etc. This is partly why -a has never been
> the default. If you want -a behavior you can use -a.
>
>