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