GNU bug report logs - #36820
grep "[[:cntrl:]]" /proc/1/cmdline works on 2.20 but not 3.3

Previous Next

Package: grep;

Reported by: Jeff Chua <jeff.chua.linux <at> gmail.com>

Date: Sat, 27 Jul 2019 00:15:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jeff Chua <jeff.chua.linux <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: grep "[[:cntrl:]]" /proc/1/cmdline works on 2.20 but not 3.3
Date: Sat, 27 Jul 2019 07:52:37 +0800
[Message part 1 (text/plain, inline)]
# using grep 2.20 ...
# grep "[[:cntrl:]]" /proc/1/cmdline
Binary file /proc/1/cmdline matches

# using grep 3.3 or above 2.20 ...
# grep "[[:cntrl:]]" /proc/1/cmdline
... nothing returned



My best.,
Jeff
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.