Mercurial > repo
view bin/autowelcome @ 11296:1d2aa8ef25d7
<wob_jonas> perl -eopen$i,"<",($f="wisdom/aristotle");$_=<$i>; s/two thousand/2000/ or die; if (1) { open$o,">",$f; print$o $_ or die; } print substr$_,0;
author | HackBot |
---|---|
date | Mon, 01 Jan 2018 18:02:36 +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)."