This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: 1500+ typos, with suggested fixes


On May 29, 2012, at 5:49 AM, Jim Meyering wrote:
> Running the following command spots over 1500 typos, and suggests fixes:
> 
>  $ git ls-files|misspellings -f -|grep -v '^ERROR:'|perl -pe \
>  's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/' > k

Hum, maybe a make rule (only run by hand), with a file that lists a gcc whitelist of things we like, withing, such a nice word...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]