# HG changeset patch # User HackBot # Date 1490108837 0 # Node ID 3edae8285d40d54055ae52ad275d9634480e99fa # Parent 98c04180749535644bdfb982fcc509f7170fa82a fetch bin/msg https://hackego.esolangs.org/get/bin/slashlearn diff -r 98c041807495 -r 3edae8285d40 bin/msg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/msg Tue Mar 21 15:07:17 2017 +0000 @@ -0,0 +1,4 @@ +sep='//`' +[[ "$1" == ?*"$sep"* ]] || { echo 'Usage: `msg '"$sep"'' >&2 ; exit 1; } +command="${1#*$sep}" +"${command%% *}" "${command#* }"