Multiple Command List After Shell Conditionals, &&, ||. Shell Script, Dash

view full story

http://unix.stackexchange.com – I'm trying to do multiple commands after a condition, so for example... [ $VAR ] || echo "Error msg" ; echo "exit" and the Inverse [ -z $VAR ] && echo "Error msg" ; echo "exit" I know that won't work as intended, I actually knew how previously and forgot how to do this. I'm fully aware of the many alternatives, such as using if's or bracketing via () and {} . Using () will create a sub process which wouldn't exit a running script. Using {} will work, but I know a more readable alternative exists. I have done this with a :, and it was perfect!!! I just can't remember now for t (HowTos)