read: Add parameter for reading input silently (#2731)

italian
laeccan 2019-01-26 17:10:00 -07:00 committed by Starbeamrainbowlabs
parent e921d0e6b6
commit 95d51a4306
1 changed files with 4 additions and 0 deletions

View File

@ -29,3 +29,7 @@
- Display a prompt before the input:
`read -p {{"Enter your input here: "}} {{variable}}`
- Do not echo typed characters (silent mode):
`read -s {{variable}}`