mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:02:08 +02:00
read: Add parameter for reading input silently (#2731)
This commit is contained in:
parent
e921d0e6b6
commit
95d51a4306
1 changed files with 4 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue