GNU bug report logs - #49983
grep-3.6.27-20b4 tests fail on Cygwin

Previous Next

Package: grep;

Reported by: Gary Johnson <garyjohn <at> spocom.com>

Date: Tue, 10 Aug 2021 16:10:02 UTC

Severity: minor

Merged with 27555, 51698

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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Gary Johnson <garyjohn <at> spocom.com>
Cc: 49983 <at> debbugs.gnu.org
Subject: bug#49983: grep-3.6.27-20b4 tests fail on Cygwin
Date: Tue, 10 Aug 2021 15:47:59 -0700
Here is a shell transcript on my platform. Can you compare it to what 
happens on your platform? I am guessing that the first 'echo $?' outputs 
something different but would like to know what it is. Plus any other 
differences.

$ export LC_ALL=en_US.UTF-8
$ s_pair=$(printf '\360\220\220\205')
$ printf '%s\n' "$s_pair" > in
$ src/grep --file=in in >out
$ echo $?
0
$ od -t o1 in
0000000 360 220 220 205 012
0000005
$ cmp in out
$ echo $?
0




This bug report was last modified 3 years and 179 days ago.

Previous Next


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