1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 20:04:57 +02:00

read: add -p option (#2724)

* read: add -p option
This commit is contained in:
Fallstar 2019-01-23 14:37:43 +01:00 committed by Muhammad Falak R Wani
parent c3d16cdf9a
commit 9c4f5869eb

View file

@ -25,3 +25,7 @@
- Do not let backslash (\) act as an escape character:
`read -r {{variable}}`
- Display a prompt before the input:
`read -p {{"Enter your input here: "}} {{variable}}`