bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fix for source includes in gendoc.sh for future consideration


From: Paul Eggert
Subject: Re: fix for source includes in gendoc.sh for future consideration
Date: Sun, 28 Jan 2024 14:21:33 -0800
User-agent: Mozilla Thunderbird

On 2024-01-28 13:59, Bruno Haible wrote:
The backslashes at the end of a line are only a minor annoyance.

Not being able to grasp the structure of a set of commands and pipes quickly
— by looking at only the start of each line — is a major annoyance.

Hmm, well, not everyone grasps the same way, or is annoyed by things the same way. When I have a list of shell commands executed in sequence with error checking, I find it easier to read this:

   cmd1 &&
   cmd2 &&
   cmd3

than this:

   cmd1 \
   && cmd2
   && cmd3

because in this case '&&' acts like an alternative to ';', and it helps the commands line up better and this makes things easier to read.

(Oops, I forgot one of the backslashes. I'm not making this up: I simply forgot. This is another reason I'm annoyed by the backslashes.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]