marvvin

IRC bot
Log | Files | Refs | README | LICENSE

commit 26d07c515bb0160c1df66397262dd4e1930cba7b
parent b7b577af0aae90c9d4cdc75d965ecdd6f4ed71ff
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 20 Jun 2021 22:38:49 +0100

b/ascii: remove - old

Diffstat:
Dbin/ascii | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/bin/ascii b/bin/ascii @@ -1,15 +0,0 @@ -#!/bin/sh - -[ -z $1 ] && { - echo "commands: $(ls data/ascii | awk -v "FS=-" -v "IFS=-" '{print $1}' | sort | uniq | tr '\n' ' ' | fold -sw 260)" - echo "art: $(curl -qs gopher://haydenh.null/1/ascii | grep '^0' | awk '{print $1}' | sed 's/^.//;s/flag[0-9]*/flag1/;s/\.txt$//' | sort | uniq | tr '\n' ' ' | fold -sw 260)" - echo "usage: marvvin: <command> -usage: marvvin: ascii <art>" - exit 1 -} - -echo "$1" | grep "\.txt$" >/dev/null && { - echo "gopher://haydenh.null/0/ascii/$1" -} || { - echo "gopher://haydenh.null/0/ascii/$1.txt" -}