Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2014 01:43:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 180937] fgrep(1) stalls when a file contains null character
Message-ID:  <bug-180937-8-vInEtgATOm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-180937-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-180937-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180937

--- Comment #2 from y@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-180937-8-vInEtgATOm>