lkml.org 
[lkml]   [2002]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Petition Against Official Endorsement of BitKeeper by Linux M aintainers
On Thu, Mar 07, 2002 at 10:56:08AM -0800, 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 ...]

We're getting well into programming 101 and I should just shut up, but
here:

cat > mkpatches <<EOF
#!/bin/sh

bk prs -hr"$1".. | while read x
do bk export -tpatch -r$x > /tmp/patches/patch-$x
done
EOF

Yes, I believe you need cat and a Bourne compatible shell for the <<EOF
stuff and we really don't need a listing of all the shells in which this
will and will not work.

The point, which seems to be completely lost in the "I can program in
shell better than you" discussion, is that it is trivial to export
changes from BK as patches. Given that the world turns on patches
today, that should be the end of the discussion and insofar as I am
concerned, it is the end of the discussion.
--
---
Larry McVoy lm at bitmover.com http://www.bitmover.com/lm
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.038 / U:21.196 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site