diff --git a/pdf-optimize b/pdf-optimize index d2bd9b5..ad9df3b 100755 --- a/pdf-optimize +++ b/pdf-optimize @@ -78,7 +78,7 @@ function arg_parse function yes_or_no { - read -p "$* [y/N]: " ans + read -pr "$* [y/N]: " ans case "$ans" in [yY] | [yY]es ) return 0;; * ) echo "Aborting"; return 1;;