Bash Scripting - User Input
Why does the
read -p command not print the prompt text when used inside a script redirected from a file (e.g., bash script.sh < input.txt)?