From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 7daaa07c for ; Thu, 9 Jan 2020 13:51:13 +0000 (UTC) Received: (qmail 29729 invoked by alias); 9 Jan 2020 13:51:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45274 Received: (qmail 5671 invoked by uid 1010); 9 Jan 2020 13:51:09 -0000 X-Qmail-Scanner-Diagnostics: from out5-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25684. spamassassin: 3.4.2. Clear:RC:0(66.111.4.29):SA:0(-2.6/5.0):. Processed in 0.892576 secs); 09 Jan 2020 13:51:09 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeiuddgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjfgesth ektddttderjeenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcuoegurdhssegurghn ihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuffhomhgrihhnpehfohhsshhivghsrdhorh hgnecukfhppeejledrudektddrheejrdduudelnecurfgrrhgrmhepmhgrihhlfhhrohhm pegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgenucevlhhushhtvghrufhiii gvpedt X-ME-Proxy: Date: Thu, 9 Jan 2020 13:50:32 +0000 From: Daniel Shahaf To: Fossies Administrator Cc: zsh-workers@zsh.org Subject: Re: Codespell report for "zsh" (on fossies.org) Message-ID: <20200109135032.einkmjbdtoyzkhn7@tarpaulin.shahaf.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Fossies Administrator wrote on Thu, Jan 09, 2020 at 13:05:13 +0100: > the FOSS server fossies.org - also supporting "zsh" - offers a new feature > "Source code misspelling reports": > > https://fossies.org/features.html#codespell > > Such reports are normally only generated on request, but as Fossies > administrator I have just created (for testing purposes) an analysis for the > current "zsh" release 5.7.1: > > https://fossies.org/linux/misc/zsh/codespell.html ⋮ > Maybe more meaningful is an additional report for the current Git master > version that can be found in a special "test" folder (that isn't integrated > in the Fossies standard services and should - at least principally - not > accessible by search engines): > > https://fossies.org/linux/test/zsh-code-4858e868dcf809016a1cb5680327d66d551353ae.zip/codespell.html > > Obviously in that current development version some of the spelling errors > respectively typos are already fixed. Thanks a lot. I've committed it, minus the archived changelog files (I left them as-is for ease of correlation to git logs), false positives, and variant spellings. Is it possible to get the report in the form of a unidiff? Basically the first thing I did with the report is to convert it to a wdiff, with the following script: [[[ #!/usr/bin/env zsh setopt extendedglob < fossies.out while IFS=$'\t\n' read -r ignore from to fname_and_parenthesized_lineno; do fname=${fname_and_parenthesized_lineno%% *} parenthesized_lineno=${fname_and_parenthesized_lineno#* } if printf %s $from $to | grep -E -q '^[A-Za-z0-9_]+$'; then perl -pi -E "s/\\b\\Q$from\\E\\b/$to/ if \$. == $parenthesized_lineno" -- ${fname#*/} else echo >&2 "$0: warning: skipped [$from $to $fname $parenthesized_lineno]" fi done ]]] … where fossies.out was created by copy-pasting the table from firefox into a text file. Thanks again. Daniel