Mercurial > repo
view bin/autowelcome @ 12040:a78307295ae5 draft
<wib_jonas> python3 -cn="bin/allquotes"; a=open(n,"rb").read(); a=a.replace(b\'quotes\',b\'"${HACKENV-/hackenv}/quotes"\'); open(n,"wb").write(a)
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 15 Nov 2019 14:33:13 +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)."