or_when.md

December 13, 2020 ยท View on GitHub

and when COMMAND

Represents a condition OR. Should be used after @ block.

Example
@ Probably on linux system
  when test -d /sys
  or test -d /dev
  or test -d /proc
  - do foo
  - do bar

You can write 'or when test...' or just 'or test...'

See also

and when
or when
@