annotate paste/paste.31992 @ 12257:1924fe176291 draft

<fizzie> ` sed -e \'s|wisdom|bin|\' < ../bin/cwlprits > ../bin/cblprits; chmod a+x ../bin/cblprits
author HackEso <hackeso@esolangs.org>
date Sat, 07 Dec 2019 23:36:53 +0000
parents 61773ea4b7b2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4198
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
1 bin/?: else echo "$1? ¯\(°​_o)/¯"; exit 1;
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
2 bin/¿:? "$@" | rev | tac
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
3 bin/؟:? "$@" | rev
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
4 bin/anonlog: grep -P -i -- "$1" ????-??-??.txt | shuf -n 1| sed "s=<[^>]*> =="
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
5 bin/anonlog: file=$(shuf -en 1 ????-??-??.txt)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
6 bin/aseen:done < <(ls -r /var/irclogs/_esoteric/????-??-??.txt)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
7 bin/bienvenido:if (defined($_=shift)) { s/ *$//; s/ +/ @ /g; exec "bin/@", $_ . " ? welcome.es"; } else { exec "bin/?", "welcome.es"; }
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
8 bin/bseen:done < <(ls -r /var/irclogs/_esoteric/????-??-??.txt)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
9 bin/define: echo 'Define what?'
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
10 bin/define: --dump --width=1000 'http://google.com/search?q=define:'"$QUERY" |
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
11 Binary file bin/delvs matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
12 bin/e:echo elieser224: ¿por qué con frecuencia altas y bajas?
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
13 bin/ello: if (!(name != null ? name.length : void 0)) {
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
14 bin/ello: console.log(consonant_then_o.test(name) ? name.replace(consonant_then_o, function(match, before, consonant, rest) {
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
15 bin/ello: }) : ell_manglable.test(name) ? name.replace(ell_manglable, function(match, before, middle, rest) {
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
16 bin/ello: }) : starts_with_o.test(name) ? 'hell' + name : ends_with_consonant_then_vowel.test(name) ? name.replace(ends_with_consonant_then_vowel, function(match, before) {
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
17 bin/ello: }) : ends_with_consonant.test(name) ? name + 'ello' : "Hello, " + name + "!");
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
18 Binary file bin/emmental matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
19 bin/etymology: echo 'Look up what?'
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
20 bin/etymology: --dump --width=1000 'http://etymonline.com/?search='"$QUERY" |
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
21 bin/forget:echo "Forget what?"
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
22 Binary file bin/fortune matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
23 Binary file bin/fueue matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
24 bin/gaseen:arr=(/var/irclogs/_esoteric/????-??-??.txt)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
25 bin/gccrun:r=$?
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
26 bin/google: echo 'Google what?'
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
27 bin/google: --dump --width=1000 'http://google.com/search?q='"$QUERY" |
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
28 bin/?h:? "$@" | perl -pe 's/([aeiouy])([bcdfghjklmnpqrstvxz])\b/$1h$2/ig'
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
29 bin/hatesgeo:perl -n -e '/:(.*?)!.*JOIN/; $j{$1}++; END {print "$_ $j{$_};" for sort {$j{$b} <=> $j{$a}} keys %j}' $@
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
30 bin/?hh:\? "$@" | perl -pe 's/([aeiouy])([bcdfghjklmnpqrstvxz])/$1h$2/ig'
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
31 bin/js:## <http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=179>
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
32 bin/js:## <http://www.openoffice.org/issues/show_bug.cgi?id=91641>
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
33 bin/learn:topic=$(echo "$1" | lowercase | sed 's/^\(a\|the\) //;s/s\? .*//')
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
34 bin/list:grep '^..:..:..: <[^>]*> `list' /var/irclogs/_esoteric/201[3-9]-??-??.txt | sed 's/^.*<//;s/>.*//;s/_*$//' | sort -u | tr '\n' ' '
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
35 bin/log: grep -P -i -- "$1" ????-??-??.txt | shuf -n 1
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
36 bin/log: file=$(shuf -en 1 ????-??-??.txt)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
37 Binary file bin/lua matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
38 Binary file bin/luac matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
39 bin/luarocks:package.path = [[/hackenv/share/lua/5.2//?.lua;/hackenv/share/lua/5.2//?/init.lua;]]..package.path
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
40 bin/luarocks-admin:package.path = [[/hackenv/share/lua/5.2//?.lua;/hackenv/share/lua/5.2//?/init.lua;]]..package.path
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
41 Binary file bin/macro matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
42 Binary file bin/mov matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
43 Binary file bin/node matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
44 Binary file bin/nooodl: matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
45 bin/pastelog: file=$(shuf -en 1 ????-??-??.txt)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
46 bin/pastelog: lines=$(timeout 25 grep -P -i -- "$1" ????-??-??.txt | head -n 301)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
47 bin/pastelogs: file=$(shuf -en 1 ????-??-??.txt)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
48 bin/pastelogs: lines=$(timeout 25 grep -P -i -- "$1" ????-??-??.txt | head -n 301)
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
49 bin/pastlog:grep -P -i -- "$1" $(ls ????-??-??.txt | head -n -1) | shuf -n 1
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
50 bin/prefixes:echo 'Bot prefixes: fungot ^, HackEgo `, EgoBot !, lambdabot @ or ?, thutubot +, metasepia ~, jconn ) , blsqbot !'
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
51 bin/quine:cd /var/irclogs/_esoteric; cat $(ls ????-??-??.txt | tail -1) | sed 's/[^>]*> //' | grep '^`' | tail -1 #Best cheating quine ever?
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
52 bin/randomanonlog:awk 'sub(/^<[^:]+:[^ ]+ PRIVMSG #esoteric :/,"")' < `ls /var/irclogs/_esoteric/????-??-??-raw.txt | shuf -n1` | shuf -n1
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
53 Binary file bin/rot256 matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
54 Binary file bin/searchlog matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
55 bin/seen:($n,$e)=split /\s+/, join(" ",@ARGV); $n=~s/ *$//; $c="ls -r /var/irclogs/_esoteric/????-??-??.txt"; $c.=" | head -n 30" unless $e eq "ever"; @f=split /\s+/, `$c`; for $f (@f) { open F,"<$f"; @l=grep(/^..:..:..: <$n>/i,<F>); close F; if (@l) { $b=$f; $b=~s#.*/(.*?).txt#$1#; print "$b $l[-1]"; exit 1; } } print $e eq "ever" ? "not that I remember" : "not lately; try `seen $n ever";
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
56 bin/seens:find /var/irclogs/_esoteric -mindepth 1 -maxdepth 1 -type f -name '????-??-??.txt' | sort -r | xargs -d'\n' -r tac -- | grep "^..:..:..: <$1>" | head -n 1
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
57 bin/shove: ? @ARGV : <>;
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
58 bin/shove:my $width = 0; $width = ($width < length $_ ? length $_ : $width) for @program;
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
59 bin/shove: $cmd eq "'" and ($quotecount += ($lws ? -1 : 1)), ($lws = !$lws);
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
60 bin/shove: $cmd eq '"' and ($quotecount += ($lws ? 1 : -1)), ($lws = !$lws);
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
61 Binary file bin/tclkit matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
62 bin/tell:echo "I think you mean \"@tell $@\" instead?"
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
63 Binary file bin/units matches
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
64 bin/welcome:if (defined($_=shift)) { s/ *$//; s/ +/ @ /g; exec "bin/@", $_ . " ? welcome"; } else { exec "bin/?", "welcome"; }
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
65 bin/wercome:if (defined($_=shift)) { s/ *$//; s/ +/ @ /g; exec "bin/@", $_ . " ? wercome"; } else { exec "bin/?", "wercome"; }
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
66 bin/wl: url = 'http://%s.wikipedia.org/w/api.php?format=json&action=query&' \
61773ea4b7b2 <elliott> grep \'?\' bin/* | paste
HackBot
parents:
diff changeset
67 bin/word:my $parse_line = qr/(\d*)(?: +(\d+))?/;