Mercurial > repo
view bin/# @ 10479:f0f99c1c5cd5
<oerjan> sled bin/#//s/msg/#/g
author | HackBot |
---|---|
date | Tue, 21 Mar 2017 15:19:29 +0000 |
parents | 9811fb0aae76 |
children | 4d6bdc52912d |
line wrap: on
line source
sep='//`' [[ "$1" == ?*"$sep"* ]] || { echo 'Usage: `# <comment>'"$sep"'<command>' >&2 ; exit 1; } command="${1#*$sep}" "${command%% *}" "${command#* }"