docs/142243: Netcat (nc(1)) manual mistake
Yasir Arsanukaev
yarsanukaev at gmail.com
Sat Jan 2 16:50:03 UTC 2010
The following reply was made to PR docs/142243; it has been noted by GNATS.
From: Yasir Arsanukaev <yarsanukaev at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: docs/142243: Netcat (nc(1)) manual mistake
Date: Sun, 3 Jan 2010 02:26:45 +1000
--00032555843a449031047c30f459
Content-Type: text/plain; charset=UTF-8
While echo in bash(1), sh(1) and csh(1) don't handle '\n' and '\r' properly,
I've discovered echo works correctly in zsh(1).
Patch is attached and can be applied this way:
$ patch /usr/src/contrib/netcat/nc.1 < nc.1.diff
The other way is to mention that example works only in zsh.
--00032555843a449031047c30f459
Content-Type: application/octet-stream; name="nc.1.diff"
Content-Disposition: attachment; filename="nc.1.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: file0
LS0tIG5jLjEJMjAwOC0xMS0yNSAxMjo1OToyOS4wMDAwMDAwMDAgKzEwMDAKKysrIG5jLjEubmV3
CTIwMTAtMDEtMDMgMDM6MTg6MzMuMDAwMDAwMDAwICsxMDAwCkBAIC0zMzEsNyArMzMxLDcgQEAK
IGluIHJlc3BvbnNlIHRvIGNvbW1hbmRzIGlzc3VlZCBieSB0aGUgY2xpZW50LgogRm9yIGV4YW1w
bGUsIHRvIHJldHJpZXZlIHRoZSBob21lIHBhZ2Ugb2YgYSB3ZWIgc2l0ZToKIC5CZCAtbGl0ZXJh
bCAtb2Zmc2V0IGluZGVudAotJCBlY2hvIC1uICJHRVQgLyBIVFRQLzEuMFxlclxlblxlclxlbiIg
fCBuYyBob3N0LmV4YW1wbGUuY29tIDgwCiskIHByaW50ZiAiR0VUIC8gSFRUUC8xLjBcZXJcZW5c
ZXJcZW4iIHwgbmMgaG9zdC5leGFtcGxlLmNvbSA4MAogLkVkCiAuUHAKIE5vdGUgdGhhdCB0aGlz
IGFsc28gZGlzcGxheXMgdGhlIGhlYWRlcnMgc2VudCBieSB0aGUgd2ViIHNlcnZlci4K
--00032555843a449031047c30f459--
More information about the freebsd-doc
mailing list