From 9a33c847a0e81058530fa4f1c4b93c6c4de662cb Mon Sep 17 00:00:00 2001 From: Otthorn Date: Fri, 19 Feb 2021 01:10:45 +0100 Subject: [PATCH] [lint] FIX SC162: use read -r --- pdf-optimize | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;;