Mercurial > repo
changeset 12421:62c19dc0cc7c draft
<oerjan> slbd olist//s,\\$n:,<$n>:,
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 17 Sep 2021 00:14:36 +0100 |
parents | 00ccb2fe8c08 |
children | cb3b0cfdd1c1 |
files | bin/olist |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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