From owner-freebsd-questions@FreeBSD.ORG Thu Jan 6 00:52:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55C1D10656A5 for ; Thu, 6 Jan 2011 00:52:02 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D7B888FC0C for ; Thu, 6 Jan 2011 00:52:01 +0000 (UTC) Received: by wwf26 with SMTP id 26so15714589wwf.31 for ; Wed, 05 Jan 2011 16:52:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=4X0TzQ5QdlQHS70h9rrfBwM/9vXbGHNXUiW5rgCLF/M=; b=NPMgj8EhM+DaAbLkTXj69H4IXFQsj7X46tMbwaeEQEXaoiSVFAixf0uUkOLo82tDlv HYs24W8z+GIomeMO2Bu733zlPBEap67pCNphlYecPbfAiZL/QjzJWbzu1fJVY+09Y0wr gfoMvJc0wgENprIHqIGGgyKNqX2f3QaILnXWs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=XQpUB7/AY6XFaTWh3UbtLqwPqKcchAKeCKSWSodiw7lSOfuZfCu08YIdjEkI6LJ3sT pQqyuNrLx8ryAowpSAPxqpmoU0SA4eDsMjdD1gTxnB1EBNy5b8Oay1j+XjyS2SyOSglh ITIUo35zy83aQ4aoZFJXu/yUW/h4XbhD5LCAI= Received: by 10.227.144.12 with SMTP id x12mr13806467wbu.102.1294275120815; Wed, 05 Jan 2011 16:52:00 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id m10sm16382161wbc.16.2011.01.05.16.51.59 (version=SSLv3 cipher=RC4-MD5); Wed, 05 Jan 2011 16:52:00 -0800 (PST) Date: Thu, 6 Jan 2011 00:51:57 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110106005157.4f030324@gumby.homeunix.com> In-Reply-To: <20110105221302.GA77555@guilt.hydra> References: <117654.42578.qm@web121409.mail.ne1.yahoo.com> <4D231CB7.2060902@teambox.fr> <86pqsc3774.fsf@red.stonehenge.com> <20110105062401.GB74123@guilt.hydra> <20110105160514.GA94459@libertas.local.camdensoftware.com> <20110105221538.26daeb0d@gumby.homeunix.com> <20110105221302.GA77555@guilt.hydra> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: a perl question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 00:52:02 -0000 On Wed, 5 Jan 2011 15:13:02 -0700 Chad Perrin wrote: > In this case, example was: > > cat file | foo arg > > . . . where it could have been: > > foo arg file > > That's just kind of absurd. I mean, that sort of usage (foo arg > file) is exactly the purpose for which grep was designed. > Obviously, I'm talking about the general case. If I'd meant grep I'd have written grep and not foo.