view bin/trueif @ 9047:dfc5682ee287

<fizzie> ` sed -i -e \'s/{/if [ -n "$f" ]; then/;s/} |/else echo "that\'\\\'\'s not wise"; fi |/\' bin/wisdom
author HackBot
date Fri, 16 Sep 2016 22:47:19 +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"