variable
Bash PS3
Prompt used by select, printed to stderr. Set in the practice shell before entering a menu.
Formal Syntax & Structure
bash syntaxbash
PS3=promptReturn Value
string
Prompt used by select, printed to stderr. Set in the practice shell before entering a menu.
Working Example
Example Snippetbash
PS3='Choose: 'select choice in Start Quit; do printf 'choice=%s reply=%s\n' "$choice" "$REPLY" breakdone < <(printf '2\n')