Skip to content

Commit 9319394

Browse files
Fix implementation of ask from out to printf
1 parent f36e145 commit 9319394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix-shell-script-kit

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ zid() {
630630
# => prompt
631631
# ```
632632
ask() {
633-
read -r x ; out "$x" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//'
633+
read -r x ; echo "$x" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//'
634634
}
635635

636636
# utf8: should the program print UTF-8 characters such as accents and emoji?

0 commit comments

Comments
 (0)