git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 0/3] vimdiff: new implementation with layout support

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Dec 1, 2021, 05:03 UTC
Message-ID
<CAPig+cQg=P1BNCwfmNAE3oHZHh4CPJ5QNQh-vgfOQDGGwenMow@mail.gmail.com>
In-Reply-To
<20211130204333.174967-1-greenfoo@u92.eu>
On Tue, Nov 30, 2021 at 3:43 PM Fernando Ramos <greenfoo@u92.eu> wrote:
>   * Use "$" inside arithmetic expressions $((...))
>     NOTE: "shellcheck" issues a warning stating that "$" is not needed inside
>     arithmetic expressions.

Just a side note: I understand that [1] recommended adding the "$" inside arithmetic expressions, but by chance I happened to be browsing the history of CodingGuidelines and ran across 32b5fe7f0e (CodingGuidelines: drop arithmetic expansion advice to use "$x", 2020-05-04) which dropped[2] the recommendation to use "$" inside the expression. Anyhow, certainly not worth a re-roll.

By the way, since you've removed Bashisms, do you still need the `#!/bin/bash` at the top of the script?

[1]: https://lore.kernel.org/git/CAJDDKr5KZK3wpox6FJPOL9koPr=k5+qTzZtPPFEmg4iZsvwoog@mail.gmail.com/ [2]: https://lore.kernel.org/git/20200504160709.GB12842@coredump.intra.peff.net/

Previous: Ævar Arnfjörð BjarmasonNext: Fernando Ramos
Message 8 of 9 in “vimdiff: new implementation with layout support”
  1. 0/3 vimdiff: new implementation with layout supportFernando Ramos, Nov 30, 2021
  2. 1/3 vimdiff: new implementation with layout supportFernando Ramos, Nov 30, 2021
  3. 2/3 vimdiff: add tool documentationFernando Ramos, Nov 30, 2021
  4. Ævar Arnfjörð BjarmasonDec 1, 2021
  5. Fernando RamosDec 4, 2021
  6. 3/3 vimdiff: integrate layout tests in the unit tests framework ('t' folder)Fernando Ramos, Nov 30, 2021
  7. Ævar Arnfjörð BjarmasonDec 1, 2021
  8. Eric SunshineDec 1, 2021
  9. Fernando RamosDec 1, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.