Преглед на файлове

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

laeccan преди 6 години
родител
ревизия
95d51a4306
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      pages/common/read.md

+ 4 - 0
pages/common/read.md

@@ -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}}`