@ -2,5 +2,13 @@
echo $-
[[ $- == *i* ]] && echo 'Interactive' || echo 'Not interactive'
if test -t 1; then
echo stdout
else
echo NO
fi
read -p "Answer?: "
echo $REPLY