RE: Petition Against Official Endorsement of BitKeeper by Linux M aintainers

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Mar 07 2002 - 14:06:34 EST


On Thu, 7 Mar 2002, Ed Vance wrote:

> On Thu, Mar 07, 2002 at 10:03 AM, Jean-Luc Leger wrote:
> > > Larry McVoy <lm@bitmover.com> 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!.*!<body of the loop>!" | 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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:06 EST