>Number: 180937 >Category: bin >Synopsis: fgrep stalls when a file contains null character >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 30 06:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: YAMAGUCHI Takanori >Release: 9.1-RELEASE >Organization: >Environment: FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 [email protected]:/usr/obj/usr/src/sys/GENERIC >Description: "fgrep -i numeric_or_symbol" or "grep -F -i numeric_or_symbol" stalls when a file contains null character.
"fgrep -i alphabet_only" does not stall. fgrep without -i does not. grep, egrep and original GNU fgrep (ports/textproc/gnugrep) does not. >How-To-Repeat: dd if=/dev/zero bs=1 count=1 | fgrep -i 1 >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
