GNU bug report logs - #68776
bug with escape characters in pattern

Previous Next

Package: grep;

Reported by: Brendan Richardson <brichardson <at> brandeis.edu>

Date: Sun, 28 Jan 2024 08:45:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Brendan Richardson <brichardson <at> brandeis.edu>
To: 68776 <at> debbugs.gnu.org
Subject: bug#68776: bug with escape characters in pattern
Date: Sat, 27 Jan 2024 19:00:37 -0500
[Message part 1 (text/plain, inline)]
Hello,

If you use input
egrep "[^\\n\\t]" file

and the file contains a line with only n or t on it, those lines are also
excluded
file
normal lines
tttttt
nnnnn



KR
Brendan Richardson
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 193 days ago.

Previous Next


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