On 04/09/2011 03:02 PM, Jim Meyering wrote:
> There was a new use of "can not" in coreutils despite
> my having performed this transformation before.
> Autoconf is the same: one current/new violation,
> in spite of applying the fix before.
> I noticed that James Youngman recently fixed one in findutils
> and there are several here in gnulib.
> 
> With this, new offenses will be less likely.
> 
>>From 2ba828d7b521d831648a4d0926d7885705cf1d59 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <[email protected]>
> Date: Sat, 9 Apr 2011 22:58:06 +0200
> Subject: [PATCH] maint.mk: prohibit use of "can not"
> 
> * top/maint.mk (sc_prohibit_can_not): New rule.
> Writing "can not" (rather than "cannot") is too common.  Prohibit it.

A recent libvirt patch demonstrated that this rule currently misses
"can\n not"; should sc_prohibit_can_not be rewritten in the same style
as sc_prohibit_doubled_word to also catch violations that are currently
hidden by line-wrapping?

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to