From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 5 21:43:00 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DDDF1065670 for ; Sat, 5 Jun 2010 21:43:00 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 7672A8FC0C for ; Sat, 5 Jun 2010 21:43:00 +0000 (UTC) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id D72AA5B30; Sat, 5 Jun 2010 14:42:59 -0700 (PDT) To: Mike Meyer In-reply-to: Your message of "Sat, 05 Jun 2010 17:02:42 EDT." <20100605170242.3bd614d3@bhuda.mired.org> References: <20100605201242.C79345B52@mail.bitblocks.com> <20100605170242.3bd614d3@bhuda.mired.org> Comments: In-reply-to Mike Meyer message dated "Sat, 05 Jun 2010 17:02:42 -0400." Date: Sat, 05 Jun 2010 14:42:59 -0700 From: Bakul Shah Message-Id: <20100605214259.D72AA5B30@mail.bitblocks.com> Cc: freebsd-hackers@freebsd.org Subject: Re: head behaviour X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 21:43:00 -0000 On Sat, 05 Jun 2010 17:02:42 EDT Mike Meyer wrote: > As a general rule, programs don't expect to share their input with > other programs, nor do they make guarantees about what is and isn't > read from that input under those conditions. I'd say that shell > scripts that depend on what some command does with it's unprocessed > input are buggy. Fair enough. Thanks!