I want to write a bash script that:
- Runs the command
bux
- a) If the output of
bux
containshave
, do nothing - b) If the output of
bux
containsX
, run the commandY
- c) If the output of
bux
containsZ
, run the commandA
- a) If the output of
- It will only contain one of these things, not multiple x