view bin/autowelcome @ 7757:99c5e6af1e66

<fizzie> ` echo -e \'#! bin/bash\\ncmd="$1"\\nshift\\nf="$*"\\nif [ -z "$f" ]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi\\nif [ -z "$f" ]; then echo try: \\\\`f command filename; else "$cmd" "$(< "$f")"; fi\' > bin/f
author HackBot
date Wed, 04 May 2016 21:33:42 +0000
parents 13b0867d7d25
children
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)."