Subject: bin/9195: od prints only `*' for short file only containing NULs.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <akr@jaist.ac.jp>
List: netbsd-bugs
Date: 01/15/2000 04:21:55
>Number:         9195
>Category:       bin
>Synopsis:       od prints only `*' for short file only containing NULs.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 15 04:20:58 2000
>Last-Modified:
>Originator:     Tanaka Akira
>Organization:
	
>Release:        1.4.1
>Environment:
	
System: NetBSD serein 1.4.1 NetBSD 1.4.1 (AKR) #3: Sun Sep 19 11:43:39 JST 1999 akr@localhost:/usr/src/sys/arch/i386/compile/AKR i386


>Description:
	
When an input of od is short sequence of NULs, od print only `*'.

>How-To-Repeat:
	

$ perl -e 'print "\0"' | od
*
$ perl -e 'print "\0" x 15' | od
*
$ 

>Fix:
	
>Audit-Trail:
>Unformatted: