Mercurial > repo
view bin/trueif @ 6929:b6b69ebd1306
<b_jonas> slashlearn syntactic sugar/Syntactic sugar causes semicolon cancer
author | HackBot |
---|---|
date | Mon, 22 Feb 2016 09:42:53 +0000 |
parents | 80e69152fba8 |
children |
line wrap: on
line source
if [ -z "$1" ];then exec echo "Please give me something to check.";fi;bash -c "if [[ $1 ]];then echo 'True.';else echo 'False.';fi"