base.sh: add readline support for interective mode
This commit is contained in:
@@ -311,7 +311,7 @@ doit() {
|
|||||||
parse_opts "$@"
|
parse_opts "$@"
|
||||||
|
|
||||||
if ! (( ${#args[@]} )); then
|
if ! (( ${#args[@]} )); then
|
||||||
while read -ra line; do
|
while read -era line; do
|
||||||
for input in "${line[@]}"; do
|
for input in "${line[@]}"; do
|
||||||
doit "ibase" "$input"
|
doit "ibase" "$input"
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user