From 79955bb355c412f81e37cb75b5e7741c29cdd742 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Mon, 19 Feb 2024 12:09:20 +0100 Subject: [PATCH] base.sh: add readline support for interective mode --- bash/base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/base.sh b/bash/base.sh index c6c42e3..28db2ab 100755 --- a/bash/base.sh +++ b/bash/base.sh @@ -311,7 +311,7 @@ doit() { parse_opts "$@" if ! (( ${#args[@]} )); then - while read -ra line; do + while read -era line; do for input in "${line[@]}"; do doit "ibase" "$input" done