mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:53:10 +02:00
test: update condition example description (#8594)
This commit is contained in:
parent
7c1c7b3266
commit
5749658b53
1 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,6 @@
|
|||
|
||||
`test ! -d "{{path/to/directory}}"`
|
||||
|
||||
- If-else statement:
|
||||
- If A is true, then do B, or C in the case of an error (notice that C may run even if A fails):
|
||||
|
||||
`test {{condition}} && {{echo "true"}} || {{echo "false"}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue