Difference between revisions of "Read (Bash buildin)"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
 
 
{{lowercase}}
 
{{lowercase}}
  
 
https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html#index-read
 
https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html#index-read
 
  read
 
  read
  read -p
+
  [[read -p]]
 +
[[read -r]]
 +
[[read -r -d]]
  
 +
echo "First command" [[&&]] read && echo "Second command"
 +
 +
echo "First command" [[&&]] (echo "Press ENTER to continue or [[Ctrl+C]] to abort"; read) && echo "Second command"
  
 
== Related terms ==
 
== Related terms ==
 
* [[Builtin (Bash)]]
 
* [[Builtin (Bash)]]
* [[argparse]]
+
* <code>[[argparse]]</code>
 +
* <code>[[readline]]</code>
 +
* [[Azure Pipelines]]: <code>[[ManualValidation@0]]</code>
 +
* [[Python]]: <code>[[input]]()</code>
 +
* <code>[[&&]]</code>
  
 
== See also ==
 
== See also ==
 
* {{read}}
 
* {{read}}
 
* {{Bash}}
 
* {{Bash}}
* {{programming}}
 
 
  
 
[[Category:Bash]]
 
[[Category:Bash]]

Latest revision as of 07:15, 9 July 2024

Advertising: