From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4561C2BF.5010901@anvil.com> Date: Mon, 20 Nov 2006 14:59:11 +0000 From: Dave Lukes User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] echo -n References: <200611201441.aa18804@salmon.maths.tcd.ie> In-Reply-To: <200611201441.aa18804@salmon.maths.tcd.ie> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: e26179f4-ead1-11e9-9d60-3106f5b1d025 $ uname -a SunOS mother 5.6 Generic_105181-35 sun4u sparc SUNW,Ultra-250 $ sh -c 'echo -n | wc' 1 1 3 $ bash -c 'echo -n | wc' 0 0 0 $ DaveL John Stalker wrote: > UNIX variants seem to vary (yes, I know, that's why they are called > variants) in their behaviour. On FreeBSD and NetBSD echo -n | wc > produces 0 0 0, agreeing with my intuition and the plan9 behaviour. > On Solaris, on the other hand, echo -n | wc produces 1 1 3. >