Re: [PATCH 20/20] CodingGuidelines: avoid "test <cond> -a/-o <cond>"
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Jun 6, 2014, 19:04 UTC
- Message-ID
- <539210A8.5040003@web.de>
- In-Reply-To
- <1402066563-28519-21-git-send-email-gitter.spiros@gmail.com>
On 2014-06-06 16.56, Elia Pinto wrote:
> + - We do not write our "test" command with "-a" and "-o" and use "&&"
That "and" "and" "and" could be somewhat confusing. How about:
We do not write our "test" command with "-a" and/or "-o". Instead we use "&&" or "||" to concatenate multiple "test" commands instead, because the use of "-a/-o" is often error-prone. E.g. (The rest looks OK)