\section or or - Conditionally execute a command \subsection or-synopsis Synopsis or COMMAND1; COMMAND2 \subsection or-description Description The \c or builtin is used to execute one command, and if it returns non-zero status, also execute a second command. \subsection or-example Example The following code runs the \c make command to build a program, or if it fails, it runs make clean, which removes the files created by the build process
or make; make clean
\c or and \c and can be nested, as in this example, that attempts to build and install a program, and removed the files created by the build process on failiure
or and make; make install; make clean