# HG changeset patch # User HackBot # Date 1490109542 0 # Node ID 9811fb0aae7696e38a8e1d59bfe6e632f1901bea # Parent ecbeb3452e13f673e4ccfcda1c24cc1e0549f2db ` mv bin/{msg,#} diff -r ecbeb3452e13 -r 9811fb0aae76 bin/# --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/# Tue Mar 21 15:19:02 2017 +0000 @@ -0,0 +1,4 @@ +sep='//`' +[[ "$1" == ?*"$sep"* ]] || { echo 'Usage: `msg '"$sep"'' >&2 ; exit 1; } +command="${1#*$sep}" +"${command%% *}" "${command#* }" diff -r ecbeb3452e13 -r 9811fb0aae76 bin/msg --- a/bin/msg Tue Mar 21 15:13:54 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -sep='//`' -[[ "$1" == ?*"$sep"* ]] || { echo 'Usage: `msg '"$sep"'' >&2 ; exit 1; } -command="${1#*$sep}" -"${command%% *}" "${command#* }"