Vladimir Zhelezov
2e44fe9e90
Portability: replace GNU extension \s
with [[:space:]]
2021-02-28 08:33:18 +01:00
Vladimir Zhelezov
2a37479d60
Revert "Do not use set -e
in helper shell scripts"
...
This reverts commit 0aeb88e663b9b19e173de20b132bef2189c6d7c9.
2021-02-28 08:33:18 +01:00
Vladimir Zhelezov
62c3c8e6da
Exit build with an error if unable to parse hledger sub-commands
2021-02-28 08:33:18 +01:00
Vladimir Zhelezov
ac143aff6b
Do not use set -e
in helper shell scripts
...
It is not a substitute for proper error checking, it can easily cause
more trouble than good and it would be a burden for contributors and a
source for potential misbehavior. See this take on the topic for
example: http://mywiki.wooledge.org/BashFAQ/105
2021-02-28 08:33:18 +01:00
Vladimir Zhelezov
9e90d25cce
Add basic editor configuration to shell scripts
2021-02-28 08:33:18 +01:00
Vladimir Zhelezov
5c2dd6fa2f
Move back commands/options parsing to separate shell scripts
...
It made the Makefile more difficult to read and this way we can
take advantage of `set -e`, `-o pipefail` and friends.
Clean up debugging targets
2021-02-28 08:33:18 +01:00