Mercurial > repo
diff bin/olist @ 12421:62c19dc0cc7c draft
<oerjan> slbd olist//s,\\$n:,<$n>:,
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 17 Sep 2021 00:14:36 +0100 |
parents | e9c3120bed34 |
children | 372e519f411b |
line wrap: on
line diff
--- a/bin/olist Fri Sep 10 11:38:50 2021 +0100 +++ b/bin/olist Fri Sep 17 00:14:36 2021 +0100 @@ -1,5 +1,5 @@ #!/bin/bash -set -e; n=$*; [[ $n = +([0-9]) ]] && n=https://www.giantitp.com/comics/oots$n.html; echo -n "olist${n:+ }$n: "; tail -n+3 "$0" | xargs; exit +set -e; n=$*; [[ $n = +([0-9]) ]] && n=https://www.giantitp.com/comics/oots$n.html; echo -n "olist${n:+ }<$n>: "; tail -n+3 "$0" | xargs; exit shachaf oerjan Sgeo