Mercurial > repo
view bin/autowelcome @ 11773:5da0815ceb07 draft
<fizzie> mkx bin/explain//wn "${1:-explain}" -n1 -hypen -hypev | sed -e \'1,/^Sense/d;/^$/,$d\' | tr \'\\n\' \' \' | sed -e \'s/ */ /g\'
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 10 Apr 2019 02:32:46 +0000 |
parents | c989a1669243 |
children | e3fd93ced862 |
line wrap: on
line source
[ "$1" == "on" ] && echo enabled > share/autowelcome_status; [ "$1" == "off" ] && echo disabled > share/autowelcome_status; echo "Autowelcome $(cat share/autowelcome_status)."