Bash: Elegant way to set status? – unix.stackexchange.com

true && echo foo will print foo. false && echo foo will not print foo. bash -c "exit $a" && echo foo will print foo depending on $a. Is there a more elegant way to write the ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Bash: Elegant way to set status? – unix.stackexchange.com"