Re: doubled words

2011-04-22 Thread Jim Meyering
Mike Stump wrote: > On Apr 10, 2011, at 2:07 PM, Jim Meyering wrote: >> $ git ls-files .|xargs perl -0777 -n -e 'while (/\b(it)\s+\1\b/gms)' >> -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print >> "$ARGV:$n:$v\n"}'|grep -v ChangeLog >> gcc/config/cris/cris.opt:152:it it >> gcc/gensupport.c:

Re: doubled words

2011-04-22 Thread Mike Stump
On Apr 10, 2011, at 2:07 PM, Jim Meyering wrote: > $ git ls-files .|xargs perl -0777 -n -e 'while (/\b(it)\s+\1\b/gms)' -e > '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'|grep > -v ChangeLog > gcc/config/cris/cris.opt:152:it it > gcc/gensupport.c:1066:it\n it These

Re: [PATCH] doubled words

2011-04-18 Thread Jim Meyering
Diego Novillo wrote: ... > Feel free to commit any of the patches in this series of typo fixes > you just posted. Thanks. Done, with this: From 7d5f43492809f2d96149853941bc8e0a9e7ecd10 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 18 Apr 2011 22:31:36 +0200 Subject: [PATCH] fix doubled-

Re: [PATCH] doubled words

2011-04-18 Thread Diego Novillo
On Mon, Apr 18, 2011 at 11:40, Jim Meyering wrote: > Mike Stump wrote: >> On Apr 16, 2011, at 4:04 AM, Gerald Pfeifer wrote: >>> On Fri, 15 Apr 2011, Mike Stump wrote: I think these are obvious. >>> >>> Which means that you can commit them without getting explicit approval >> >> Well, techni

Re: [PATCH] doubled words

2011-04-18 Thread Mike Stump
On Apr 18, 2011, at 8:40 AM, Jim Meyering wrote: > If you hadn't said anything, I would have committed those typo fixes > by now, based on what I perceived as your review/approval and on my > reading of this part of http://gcc.gnu.org/svnwrite.html: > >Free for all > >The following change

Re: [PATCH] doubled words

2011-04-18 Thread Ralf Wildenhues
Hi Jim, * Jim Meyering wrote on Mon, Apr 18, 2011 at 05:40:03PM CEST: > Mike Stump wrote: > > On Apr 16, 2011, at 4:04 AM, Gerald Pfeifer wrote: > >> On Fri, 15 Apr 2011, Mike Stump wrote: > >>> I think these are obvious. > >> > >> Which means that you can commit them without getting explicit appr

Re: [PATCH] doubled words

2011-04-18 Thread Jim Meyering
Mike Stump wrote: > On Apr 16, 2011, at 4:04 AM, Gerald Pfeifer wrote: >> On Fri, 15 Apr 2011, Mike Stump wrote: >>> I think these are obvious. >> >> Which means that you can commit them without getting explicit approval > > Well, technically, it means nothing... It only means something if the >

Re: [PATCH] doubled words

2011-04-16 Thread Mike Stump
On Apr 16, 2011, at 4:04 AM, Gerald Pfeifer wrote: > On Fri, 15 Apr 2011, Mike Stump wrote: >> I think these are obvious. > > Which means that you can commit them without getting explicit approval Well, technically, it means nothing... It only means something if the maintainer agrees with me,

Re: [PATCH] doubled words

2011-04-16 Thread Gerald Pfeifer
On Fri, 15 Apr 2011, Mike Stump wrote: > I think these are obvious. Which means that you can commit them without getting explicit approval, Jim. Gerald

Re: [PATCH] doubled words

2011-04-15 Thread Mike Stump
On Apr 15, 2011, at 1:18 AM, Jim Meyering wrote: > While most of these are in comments, the corrections > in gcc/tree-cfg.c and gcc/config/sh/constraints.md are in strings. > The former at least is marked for translation, and hence appears > in every .po file. I think these are obvious. >

[PATCH] doubled words

2011-04-15 Thread Jim Meyering
Signed-off-by: Jim Meyering --- While most of these are in comments, the corrections in gcc/tree-cfg.c and gcc/config/sh/constraints.md are in strings. The former at least is marked for translation, and hence appears in every .po file. gcc/config/alpha/vms-unwind.h |4 ++-- gcc/config/

Re: doubled words

2011-04-10 Thread Jim Meyering
Mike Stump wrote: > On Apr 10, 2011, at 4:54 AM, Jim Meyering wrote: >> I've noticed/fixed a few occurrences of doubled words like "the the", >> "to to" > > I fixed all the non-surious matches in the gcc/testsuite. if if in > the fortran testsui

Re: doubled words

2011-04-10 Thread Jim Meyering
Mike Stump wrote: > On Apr 10, 2011, at 4:54 AM, Jim Meyering wrote: >> I've noticed/fixed a few occurrences of doubled words like "the the", > > I've fixed the obviously wrong ones in gcc/.* excluding ada and go. I > don't hate Ada and go, since I d

Re: doubled words

2011-04-10 Thread Joseph S. Myers
On Sun, 10 Apr 2011, Jim Meyering wrote: > boehm-gc/configure.host:5:the the > boehm-gc/doc/README:123:to to > boehm-gc/misc.c:212:to to > boehm-gc/os_dep.c:4010:to to Maintained externally and the GCC copy is very out-of-date. Send patches to upstream boehm-gc instead. > libdecnumber/decCommo

Re: doubled words

2011-04-10 Thread Joseph S. Myers
On Sun, 10 Apr 2011, Jim Meyering wrote: > I would be inclined to prepare a patch if I thought it would > be applied (promptly?), but I submitted a clear/simple fix for > an obvious double-free bug (albeit only in a test case) a month ago: > > http://patchwork.ozlabs.org/patch/85973/ >

Re: doubled words

2011-04-10 Thread Mike Stump
On Apr 10, 2011, at 4:54 AM, Jim Meyering wrote: > I've noticed/fixed a few occurrences of doubled words like "the the", I've fixed the obviously wrong ones in gcc/.* excluding ada and go. I don't hate Ada and go, since I don't pretend to keep up on rules to th

Re: doubled words

2011-04-10 Thread Mike Stump
On Apr 10, 2011, at 4:54 AM, Jim Meyering wrote: > I would be inclined to prepare a patch if I thought it would > be applied (promptly?), but I submitted a clear/simple fix for > an obvious double-free bug (albeit only in a test case) a month ago: > > http://patchwork.ozlabs.org/patch/85973/

Re: doubled words

2011-04-10 Thread Mike Stump
On Apr 10, 2011, at 4:54 AM, Jim Meyering wrote: > I've noticed/fixed a few occurrences of doubled words like "the the", > "to to" I fixed all the non-surious matches in the gcc/testsuite. if if in the fortran testsuite was the major spurious match. Thanks

doubled words

2011-04-10 Thread Jim Meyering
I've noticed/fixed a few occurrences of doubled words like "the the", "to to", etc. in other packages, so wrote this to find more of them: git ls-files|xargs perl -0777 -n \ -e 'while (/\b(then?|if|but|or|and|to)\s+\1\b/gms)' \ -e '{$n=($