1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 13:35:26 +02:00
tldr/pages
Eric Nielsen b96c886c4f
if: actually use if to test a command's success (#5344)
Using `{{command}} && {{command1}} || {{command2}}` does not actually
work like if, and it's misleading to teach that to users. The difference
is that in the above construct, command2 gets executed if command1
fails, which does not happen in a real if as in `if {{command}}; then
{{command1}}; else {{command2}}; fi`
2021-03-04 10:16:42 -05:00
..
common if: actually use if to test a command's success (#5344) 2021-03-04 10:16:42 -05:00
linux pacman-mirrors: add page (#5315) 2021-02-28 14:23:47 -03:00
osx netstat: use long argument format (#5252) 2021-02-18 23:16:29 +00:00
sunos multiple pages: Unify file path syntax to indicate a 'path to' (#4816) 2020-10-28 17:19:43 +00:00
windows multiple pages: format technical tokens (#5119) 2021-01-31 12:05:18 -05:00