From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED901C43331 for ; Wed, 13 Nov 2019 09:12:31 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 87D51222D0 for ; Wed, 13 Nov 2019 09:12:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Dg+bYQaW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87D51222D0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D42C61BEE4; Wed, 13 Nov 2019 10:12:30 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id CE45F1BED2 for ; Wed, 13 Nov 2019 10:12:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573636349; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:openpgp:openpgp:autocrypt:autocrypt; bh=aYdbjdznJECZnLVubI1H83uxlAXjnqPQ9HL5qOIlBi0=; b=Dg+bYQaWgXb3t64OflxNPojI8W6k//SZeT5l3o5OgJ4X/cn9jwaxObesTPkbW8/jj6M7KO ZbEE38yJ2p5IgIrXYZ7/KFU7UvI9+KQosmuyYG9HgA9AiKjE34CyBQpW07TVgGHHDZF6cu vSLQsJpxJWK9kO2yBdHncZ0H0f1ppBg= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-375-2S15KKo4MTOam7CEXH6Klw-1; Wed, 13 Nov 2019 04:12:28 -0500 Received: by mail-wr1-f69.google.com with SMTP id h7so1229993wrb.2 for ; Wed, 13 Nov 2019 01:12:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=+SO5F/dB2Ho7eiSZSR4e7ssX6Eoaw2pJRm2H+n6vQnI=; b=FtR3z87n0O0PC5G5InxhJEso+tzqARg4zY5ncoYVBF8o3zpmQKSTwy6z4E/Pz3/EVL MhxKrzf/QqfttFQqKT1CSyVUv3PX2yOQF5pRPc5j4ATaJSZHKr6LYNmBHGlhYX/ywTt+ AO1OyKtX5mV1N4YjtH8wSSn44gm/DHNP3OS88ulHj7FIIkpT/GiPu5uq2jUjW0hG6T6Y RJzIg+P5mU5I5cCmWKDUtmWWV2xlo1C3FSQJ0dgFilhBsSJ/3o7hxgYk7xAXzkcm/v4l F0lSUpwlSPQVdw8dVrMNcpbH1mEMhrhER9JpztzwEFHDP9sI9XiD0I5mzebdcKrFc9Mq 2J8w== X-Gm-Message-State: APjAAAUrk9cdHL6ZRApIK7e7TvVDgtTQgjc2ImO1uMeHliNXL/D8ahqD b4Wc1ksY192Lzw4JA4TtA1vIuTQLpm2VHXKn/RTs3MIjd/ARWq6XRKj3zlu5RTa2jCzp5rJ/JUE CN94= X-Received: by 2002:a5d:5050:: with SMTP id h16mr1919021wrt.380.1573636347188; Wed, 13 Nov 2019 01:12:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzCTt93jQPoy1tLeJUVyRNH4hLU8VTPtOCCcTAfSE9Vhir8dUW6VlkTZVvfxStpA86VzpN0qw== X-Received: by 2002:a5d:5050:: with SMTP id h16mr1918970wrt.380.1573636346800; Wed, 13 Nov 2019 01:12:26 -0800 (PST) Received: from dmarchan.remote.csb (lfbn-1-8944-244.w193-250.abo.wanadoo.fr. [193.250.84.244]) by smtp.gmail.com with ESMTPSA id h124sm1724114wmf.30.2019.11.13.01.12.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Nov 2019 01:12:26 -0800 (PST) From: David Marchand To: dev@dpdk.org Cc: John McNamara , Marko Kovacevic , Pablo de Lara , Qi Zhang , Xiao Wang , Nicolas Chautru , Anatoly Burakov , Jiayu Hu , Ferruh Yigit , Konstantin Ananyev , Adrien Mazarguil , Akhil Goyal , Declan Doherty , Ori Kam , Bruce Richardson , Radu Nicolau , Tomasz Kantecki , Sunil Kumar Kori , Pavan Nikhilesh , Xiaoyun Li , Jingjing Wu , Harry van Haaren , Wenzhuo Lu , Bernard Iremonger , Maryam Tahhan , Reshma Pattan References: <1573587221-25158-1-git-send-email-david.marchand@redhat.com> Openpgp: preference=signencrypt Autocrypt: addr=david.marchand@redhat.com; prefer-encrypt=mutual; keydata= xsFNBF2IycABEADRro66p9FwjHhl4X07u9gSDNGnMqYTW1H7GXxrwcKjIAf8BWjlyxo4Xt7u xR85q7DBu+GC6M7W2F5M7zlSJXZVAQKzruHfK5L889XEqVsi5cjv134JolRkHJSfPgB4VD4S NKBwvkiHlDPBuqFi6JWlm3acRK5e7cZ4TocLm1c72lumMQNn8b4FZMxMlxMlUF0FqAI7AvtW NBFQxzTyTG4zH1oKGbQPIyNzX4hQmFbH/o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HFp+S GfTM4fFnREmrABDDEh46WNurYOPEk2LpyNg40VRk3lfz5tr7uFjfzNIU/ac02jZJgwFAr16d el5ym9McOnr0otM3/HLZ3Ef0YvXbvE7Pgi6CfEzfGlLdwF+cxidmla1Ipf/PU0pCYN8p3ya8 q7npdDaeoK2L3fXB8x9vJz23LxaYFAJpHgsNxoZBY9Y5TNMh04u2ftc7k/IPf1D5WlMgh5QW eVJkZd3YMipvpg9hBmMHvTiznEFNLNlug9Y4lOAwX8EIkl33hOIj3Mr7/MBuUx9Ycj0j7onh bvv1x6jQE8mh4dc1+7QySLTrex7i3oiIRYXMSACKDxd6KvaXvU/DQc62Gn/8Tk7V3s8Owzc+ ZgtrCZgF2h1kfAsydxIHrKONEo6VKMc6bmRK3m342CMkYenDTX5w8M5Ka/V0B5xu6Lxk7CdX 792qyCLYe8mHdvckssNSrDlDwqlZRlgWcm5YxFnctAE8ejgy7guHV4qJp8sP+J8Qu0eInVeR 2Dd8hjZiaUyPWicKLpARW3MOIvi40U+UIU8Mt04errXhbsuQZ5TTtMLULorXG7qJQbsKMFf0 jnmGuw== Message-ID: <29a2b40e-b08a-c3cc-2c8a-e2eb7914dc42@redhat.com> Date: Wed, 13 Nov 2019 10:12:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1573587221-25158-1-git-send-email-david.marchand@redhat.com> Content-Language: en-US X-MC-Unique: 2S15KKo4MTOam7CEXH6Klw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] doc/guides: clean repeated words X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/11/2019 20:33, David Marchand wrote: > Shoot repeated words in all our guides. >=20 > Signed-off-by: David Marchand For anyone interested, I caught this with a patch I added to my checks: awk ' { =09if (prev_file !=3D FILENAME) { =09=09prev=3D"" =09=09prev_line=3D"" =09=09prev_file=3DFILENAME =09=09NR=3D1 =09=09display_banner=3D1 =09} =09for (i =3D 1; i <=3D NF; i++) { =09=09current=3Dtolower($i) =09=09if (current ~ /^[a-z]*$/ && prev =3D=3D current) { =09=09=09if (display_banner =3D=3D 1) { =09=09=09=09print "\n"FILENAME":" =09=09=09=09display_banner=3D0 =09=09=09} =09=09=09print " Detected repeated word \""prev"\"" =09=09=09if (i =3D=3D 1) { =09=09=09=09printf(" %5d: \"%s\"\n", NR-1, prev_line) =09=09=09} =09=09=09printf(" %5d: \"%s\"\n", NR, $0) =09=09} =09=09prev=3Dcurrent =09} =09prev_line=3D$0 =09if (NF =3D=3D 0) { =09=09prev=3D"" =09} }' $(git ls-tree --name-only -r HEAD |grep -E '\.rst$') >.check/doc.txt It has some false positive, so the output is compared to a reference output I manually checked once. if [ -e .check/doc.ref ] ; then =09diff -u0 .check/doc.ref .check/doc.txt else =09mv .check/doc.txt .check/doc.ref fi --=20 David Marchand