Skip to content

Commit f36e145

Browse files
Fix implementation from echo to ask
1 parent f5a9628 commit f36e145

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 ; echo "$x" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//'
633+
read -r x ; out "$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)