<kron> revert 19abd25a577a
authorhackbot
Mon, 31 May 2021 08:05:27 +0000
changeset 196 d649dad4b16c
parent 195 8c5318817c6e
child 197 866a4775f8fd
<kron> revert 19abd25a577a
bin/
bin/4x
bin/`
bin/action
bin/annoy
bin/bashify
bin/bce
bin/bold
bin/bonk
bin/botsnack
bin/botsnak
bin/cookie
bin/dcx
bin/echo-p
bin/envdemo
bin/funny
bin/give
bin/gtfo
bin/info
bin/jsx
bin/la
bin/luax
bin/mk
bin/mkinfo
bin/mkx
bin/ping
bin/px
bin/python
bin/shrug
bin/slap
bin/test
bin/trout
bin/welcome
bin/whale
etc/slap_creatures
fuck
help/best animal.help
help/best_animal.help
help/best_cat.help
help/hb.help
help/hb/owner.help
help/hb/repo.help
help/iczero.help
help/info.help
help/rasengan.help
tmp/foo
--- a/bin/ 	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-echo “you used a space.”
--- a/bin/4x	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-gforth -e "$@ bye"
--- a/bin/`	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-cmd="${@}"
-eval -- "$cmd"
--- a/bin/action	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo -e "\001ACTION $@\001"
--- a/bin/annoy	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-printf %100s | sed "s/ /$@ /gi"
--- a/bin/bashify	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-cp $1 /tmp/out && echo -e "#!/bin/bash" | cat - $1 > /tmp/out && mv /tmp/out $1 
--- a/bin/bce	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo "$@" | bc
--- a/bin/bold	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo -e "\0002$1\0002"
--- a/bin/bonk	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo go to horny jail
--- a/bin/botsnack	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo "snacks!"
--- a/bin/botsnak	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-botsnack
--- a/bin/cookie	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-case $@  in hb) botsnack;; *) action gives $@ some cookies.;; esac
--- a/bin/dcx	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-dc -e "$@"
--- a/bin/echo-p	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo "$1"; [[ "$1" == */* ]] && mkdir -p "${1%/*}" 2>/dev/null
\ No newline at end of file
--- a/bin/envdemo	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo ":${IRC_NICK}!${IRC_IDENT}@${IRC_HOST} ${IRC_COMMAND} ${IRC_TARGET} :${IRC_MESSAGE}"
--- a/bin/funny	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-echo funny
--- a/bin/give	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-action "gives $1 some $2"
--- a/bin/gtfo	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-[ "$IRC_TARGET" = "##2chars" ] && echo "$1: get a 2 character nick or GTFO"
--- a/bin/info	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-cat /hackenv/help/$1.help
--- a/bin/jsx	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-node -e "$@"
--- a/bin/la	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-ls -lah $@
--- a/bin/luax	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-echo $@ | xargs -0 lua -e
--- a/bin/mk	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-[[ "$1" == ?*//* ]] || { echo usage: "mk[x]" file//contents >&2; exit 1; }; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$(echo-p "$key")" && echo "$key"
\ No newline at end of file
--- a/bin/mkinfo	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-key=$1; shift; mkdir -p $(dirname "/hackenv/help/$key") && echo "$@" > "/hackenv/help/$key.help"
--- a/bin/mkx	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-key=$(mk "$@") && echo "$key" && chmod +x "$key"
--- a/bin/ping	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo pong
--- a/bin/px	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-perl -e "$@"
--- a/bin/python	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-python3 $@
--- a/bin/shrug	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-echo '¯\_(ツ)_/¯'
--- a/bin/slap	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-shuf -n1 $HACKENV/etc/slap_creatures | xargs action $"slaps $1 around a bit with a"
--- a/bin/test	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo "blah"
--- a/bin/trout	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-action "smacks $@ around a little bit with a large trout."
--- a/bin/welcome	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo "Hello, and welcome to ##2chars. This place just kinda exists. "
--- a/bin/whale	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#!/bin/bash
-action "smashes $@ with a large whale!"
--- a/etc/slap_creatures	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-large trout
-large salmon
-large tuna
-large squid
-spikey sack of potatos
-rotten sack of potatos
--- a/fuck	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,95 +0,0 @@
-<built-in>:250:2: error: invalid preprocessing directive
-#def<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>6_FMTo__ "ho"
- ^
-<built-in>:251:2: error: invalid preprocessing directive
-#d<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>T16_FMTu__ "hu"
- ^
-<built-in>:252:17: error: unknown type name 'AST16_FMTx__'
-<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>AST16_FMTx__ "hx<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>_FAST16_FMTX__ "hX"
-                                                                                                                                ^
-<built-in>:252:30: error: expected identifier or '('
-<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>AST16_FMTx__ "hx<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>_FAST16_FMTX__ "hX"
-                                                                                                                                             ^
-<built-in>:337:11: error: invalid filename for line marker directive
-# 1<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>and line>" 1
-                                                           ^
-In file included from pikhqbow.c:1:
-In file included from /usr/include/stdio.h:43:
-/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:95:3: error: unknown type name 'size_t'
-  size_t __pad5;
-  ^
-/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:98:67: error: use of undeclared identifier 'size_t'; did you mean 'sizeof'?
-  char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
-                                                                  ^
-/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:98:66: error: reference to overloaded function could not be resolved; did you mean to call it?
-  char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
-                                                                 ^~~~~~~~
-In file included from pikhqbow.c:1:
-/usr/include/stdio.h:292:35: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
-                                  ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:298:47: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
-                                              ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:309:20: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-                    int __modes, size_t __n) __THROW;
-                                 ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:315:10: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-                       size_t __size) __THROW;
-                       ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:354:44: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-extern int snprintf (char *__restrict __s, size_t __maxlen,
-                                           ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:358:45: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-extern int vsnprintf (char *__restrict __s, size_t __maxlen,
-                                            ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:604:30: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-                             size_t *__restrict __n, int __delimiter,
-                             ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:607:28: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-                           size_t *__restrict __n, int __delimiter,
-                           ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:617:27: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-                          size_t *__restrict __n,
-                          ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:646:8: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-extern size_t fread (void *__restrict __ptr, size_t __size,
-       ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-/usr/include/stdio.h:646:46: error: unknown type name 'size_t'; did you mean 'ssize_t'?
-extern size_t fread (void *__restrict __ptr, size_t __size,
-                                             ^
-/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
-typedef __ssize_t ssize_t;
-                  ^
-fatal error: too many errors emitted, stopping now [-ferror-limit=]
-20 errors generated.
--- a/help/best animal.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-It's cats.
--- a/help/best_animal.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-It's cats.
--- a/help/best_cat.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-It's cd's cat.
--- a/help/hb.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-A modified version of hackbot, owned by cd
--- a/help/hb/owner.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-cd
--- a/help/hb/repo.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-Hackbot uses a Mercurial repo to track all changes. Details to come when bot is hosted. For now, contact [[hb/owner]] if some dummy deletes the file system.
--- a/help/iczero.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-derp
--- a/help/info.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-A command that prints 1-line help for a certain topic from /hackenv/help
--- a/help/rasengan.help	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-A funny move from the show Naruto. We generally pretend the person doesn’t exist.
--- a/tmp/foo	Mon May 31 07:47:59 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-#!/bin/bash
-Invalid dependencies table index encountered (index -2143289323)
-   at gen/moar/stage2/QRegex.nqp:1602  (/usr/share/nqp/lib/QRegex.moarvm:!reduce)
- from gen/moar/stage2/QRegex.nqp:1545  (/usr/share/nqp/lib/QRegex.moarvm:!cursor_pass)
- from <unknown>:1  (/usr/share/perl6/lib/Perl6/Grammar.moarvm:_ws)
- from gen/moar/Grammar.nqp:680  (/usr/share/perl6/lib/Perl6/Grammar.moarvm:ws)
- from gen/moar/Grammar.nqp:858  (/usr/share/perl6/lib/Perl6/Grammar.moarvm:lang-version)
- from gen/moar/Grammar.nqp:826  (/usr/share/perl6/lib/Perl6/Grammar.moarvm:comp_unit)
- from gen/moar/Grammar.nqp:555  (/usr/share/perl6/lib/Perl6/Grammar.moarvm:TOP)
- from gen/moar/stage2/QRegex.nqp:2211  (/usr/share/nqp/lib/QRegex.moarvm:parse)
- from gen/moar/stage2/NQPHLL.nqp:2260  (/usr/share/nqp/lib/NQPHLL.moarvm:parse)
- from gen/moar/stage2/NQPHLL.nqp:2178  (/usr/share/nqp/lib/NQPHLL.moarvm:execute_stage)
- from gen/moar/stage2/NQPHLL.nqp:2211  (/usr/share/nqp/lib/NQPHLL.moarvm:run)
- from gen/moar/stage2/NQPHLL.nqp:2203  (/usr/share/nqp/lib/NQPHLL.moarvm:)
- from gen/moar/stage2/NQPHLL.nqp:2198  (/usr/share/nqp/lib/NQPHLL.moarvm:compile)
- from gen/moar/stage2/NQPHLL.nqp:1881  (/usr/share/nqp/lib/NQPHLL.moarvm:eval)
- from gen/moar/stage2/NQPHLL.nqp:2116  (/usr/share/nqp/lib/NQPHLL.moarvm:evalfiles)
- from gen/moar/stage2/NQPHLL.nqp:2076  (/usr/share/nqp/lib/NQPHLL.moarvm:command_eval)
- from gen/moar/Compiler.nqp:55  (/usr/share/perl6/lib/Perl6/Compiler.moarvm:command_eval)
- from gen/moar/stage2/NQPHLL.nqp:2001  (/usr/share/nqp/lib/NQPHLL.moarvm:command_line)
- from gen/moar/perl6.nqp:127  (/usr/share/perl6/runtime/perl6.moarvm:MAIN)
- from gen/moar/perl6.nqp:92  (/usr/share/perl6/runtime/perl6.moarvm:<mainline>)
- from <unknown>:1  (/usr/share/perl6/runtime/perl6.moarvm:<main>)
- from <unknown>:1  (/usr/share/perl6/runtime/perl6.moarvm:<entry>)