update examples
This commit is contained in:
parent
1fcae8c904
commit
69943c5f06
3 changed files with 45 additions and 30 deletions
|
|
@ -19,7 +19,7 @@ echo "Hello ${sfin}!" # Use input
|
|||
|
||||
sfask "Do you want to tell me your age" # Ask for YES/no
|
||||
if [ "$sfin" == true ]; then # Use answer
|
||||
sfget "Enter your Age" # Get input
|
||||
sfget "Enter your Age" "80" # Get input with default value
|
||||
sfask "Is $sfin really your age" "no" # Use input and ask for yes/NO
|
||||
if [ "$sfin" == true ]; then # Use answer
|
||||
echo "Great!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue