This feature is used by Git's test suite. That is the incentive. It was
also pretty to implement, so why not ;-)
Changes since v1:
- split into two patches, one for ash, one for hush, to make it easier
to drop the hush one if so desired.
- hide the feature behind the *_BASH_COMPAT knobs, as suggested by
Kang-Che Sung.
Johannes Schindelin (2):
ash: implement -d DELIM option for `read`
hush: implement -d DELIM option for `read`
shell/ash.c | 19 ++++++++++++++++---
shell/hush.c | 24 ++++++++++++++++++++++--
shell/shell_common.c | 10 +++++++---
shell/shell_common.h | 3 ++-
4 files changed, 47 insertions(+), 9 deletions(-)
base-commit: 73adef14b25533b71238362da75bfb482d43d98b
Submitted-As: https://public-inbox.org/git/null