tolikpunkoff May 10th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ask_string() #1-user ask string, #2-default variant
- read -r -p "$1 [$2]:"
- if [ -z "$REPLY" ]; then
- if [ -n "$2" ]; then
- ask_string "Select path" "/home/smallwolfie/test/testdir"
- echo $STR_RESULT
RAW Paste Data