[Bug 180937] fgrep(1) stalls when a file contains null character

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 8 01:43:22 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180937

--- Comment #2 from y at maya.st ---
It seems locale-dependent.

stall:
dd if=/dev/zero bs=1 count=1 | env LC_CTYPE=ja_JP.eucJP fgrep -i 1

not stall:
dd if=/dev/zero bs=1 count=1 | env LC_CTYPE=ja_JP.UTF-8 fgrep -i 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list