Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 7 Mar 2002 14:07:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 7 Mar 2002 14:06:52 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:20384 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Thu, 7 Mar 2002 14:06:41 -0500 Date: Thu, 7 Mar 2002 14:06:34 -0500 (EST) From: Alexander Viro To: Ed Vance cc: "'Jean-Luc Leger'" , linux-kernel@vger.kernel.org Subject: RE: Petition Against Official Endorsement of BitKeeper by Linux M aintainers In-Reply-To: <11E89240C407D311958800A0C9ACF7D13A76E0@EXCHANGE> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Mar 2002, Ed Vance wrote: > On Thu, Mar 07, 2002 at 10:03 AM, Jean-Luc Leger wrote: > > > Larry McVoy writes: > > > > bk prs -hrv2.5.0.. | while read x > > > > by the way, shouldn't it be "$x" in the second line ? > > or am I missing something ? > > > > JL > > man bash > ... > read [-ers] [-t timeout] [-a aname] [-p prompt] [-n > nchars] [-d delim] [name ...] > ^^^^ > Nope, no "$" on the variable name in this context. The reference > is to the variable's identifier rather than its value. He said _second_ line. Larry got $i there. In any case, for that one bk prs -hrv2.5.0.. | sed -e "s!.*!!" | sh would be simpler and more compact (with & instead of $i). He doesn't have metacharcters in there, so it's safe... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/