Re: stray symbol in hd's output?

From: Matthias Apitz <guru_at_unixarea.de>
Date: Sun, 29 Jan 2012 22:17:41 +0100
El día Sunday, January 29, 2012 a las 11:07:41PM +0200, Andriy Gapon escribió:

> 
> Does the following look familiar to anybody (note the stray 'n')?
> 
> $ dd if=/dev/zero bs=1 count=1 | hd
> 1+0 records in
> 1+0 records out
> 1 bytes transferred in 0.000043 secs (23302 bytes/sec)
> 00000000  00                                                |.|
> n00000001

$ uname -a
FreeBSD tiny 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r226986: Tue Nov  1
14:27:40 CET 2011     guru_at_caracas:/usr/obj/usr/src/sys/GENERIC  i386
$ dd if=/dev/zero bs=1 count=1 | hd
1+0 records in
1+0 records out
1 bytes transferred in 0.000149 secs (6711 bytes/sec)
00000000  00                                                |.|
00000001

I don't see it and would run both cmd with truss(1) to see which one is
sending out the 'n';

	matthias

-- 
Matthias Apitz
e <guru_at_unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
Received on Sun Jan 29 2012 - 22:06:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC