Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2012 22:17:41 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        FreeBSD current <freebsd-current@FreeBSD.org>
Subject:   Re: stray symbol in hd's output?
Message-ID:  <20120129211741.GA1384@tiny>
In-Reply-To: <4F25B51D.4090207@FreeBSD.org>
References:  <4F25B51D.4090207@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120129211741.GA1384>