|
From: | Paul Eggert |
Subject: | bug#36820: grep "[[:cntrl:]]" /proc/1/cmdline works on 2.20 but not 3.3 |
Date: | Sun, 28 Jul 2019 17:59:51 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |