Use stderr
This commit is contained in:
parent
267a653bf2
commit
3b6b3c20f1
|
@ -103,7 +103,7 @@ usePlainText() {
|
||||||
printf "$2\n"
|
printf "$2\n"
|
||||||
if [ $inputbox = true ]; then
|
if [ $inputbox = true ]; then
|
||||||
read -r readVar
|
read -r readVar
|
||||||
printf "$readVar"
|
printf "$readVar" 1>&2
|
||||||
elif [ $yesnobox = true ]; then
|
elif [ $yesnobox = true ]; then
|
||||||
printf "[y/n] "
|
printf "[y/n] "
|
||||||
read -n 1 -r readVar
|
read -n 1 -r readVar
|
||||||
|
@ -121,7 +121,7 @@ usePlainTextMenu() {
|
||||||
((i++))
|
((i++))
|
||||||
done
|
done
|
||||||
read -n 1 -r readVar
|
read -n 1 -r readVar
|
||||||
echo "$readVar"
|
printf "$readVar" 1>&2
|
||||||
}
|
}
|
||||||
|
|
||||||
getLastArgument() {
|
getLastArgument() {
|
||||||
|
|
Loading…
Reference in New Issue