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.)