From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 10:25:52 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F97F37B401; Wed, 25 Jun 2003 10:25:52 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C2F943FCB; Wed, 25 Jun 2003 10:25:51 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h5PHQsMo016136; Wed, 25 Jun 2003 13:26:54 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5PHQG7J031001; Wed, 25 Jun 2003 10:26:16 -0700 (PDT) (envelope-from jmg) Date: Wed, 25 Jun 2003 10:26:16 -0700 From: John-Mark Gurney To: "Tim J. Robbins" Message-ID: <20030625172616.GA57612@funkthat.com> Mail-Followup-To: "Tim J. Robbins" , Juli Mallett , freebsd-current@freebsd.org, Andrey Chernov References: <20030624183515.A42570@FreeBSD.org> <1056499632.662.7.camel@timon.nist> <3EF922BE.4070803@acm.org> <20030624234707.A59666@FreeBSD.org> <20030625001525.A60867@FreeBSD.org> <20030625060450.GX57612@funkthat.com> <20030625074151.GY57612@funkthat.com> <20030625192001.A10405@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030625192001.A10405@dilbert.robbins.dropbear.id.au> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: Juli Mallett cc: Andrey Chernov cc: freebsd-current@freebsd.org Subject: Re: tcsh being dodgy, or pipe code ishoos? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 17:25:52 -0000 Tim J. Robbins wrote this message on Wed, Jun 25, 2003 at 19:20 +1000: > On Wed, Jun 25, 2003 at 12:41:51AM -0700, John-Mark Gurney wrote: > > [...] > > So, now the question is, do we fix xargs to deal with unexpected > > children? Or fix the shells in question? (tcsh and zsh seem to suffer > > this problem) > > > > To me, fixing xargs is correct since it prevents another possible > > future abusers of this "feature". > > Feel free to get rid of the -P option. What tcsh and zsh are doing is a fairly > bad idea though, and it will break more than just xargs. I think -P for xargs is a GOOD option. There are cases that this is very useful. It is pretty trivial to fix too. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."