annotate bin/# @ 12267:7e5beba54694 draft

<b_jonas> slashlearn aoc//Advent of Code (AoC) is a series of programming puzzles that some regulars enjoy, found at "https://adventofcode.com/2019/about".
author HackEso <hackeso@esolangs.org>
date Mon, 16 Dec 2019 22:53:41 +0000
parents 4d6bdc52912d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10475
3edae8285d40 <oerjan> fetch bin/msg https://hackego.esolangs.org/get/bin/slashlearn
HackBot
parents:
diff changeset
1 sep='//`'
10479
f0f99c1c5cd5 <oerjan> sled bin/#//s/msg/#/g
HackBot
parents: 10478
diff changeset
2 [[ "$1" == ?*"$sep"* ]] || { echo 'Usage: `# <comment>'"$sep"'<command>' >&2 ; exit 1; }
10544
4d6bdc52912d <oerjan> sled bin/#//3,$cnur "${1#*$sep}"
HackBot
parents: 10479
diff changeset
3 nur "${1#*$sep}"