Mercurial > repo
view paste/paste.19593 @ 10881:18545542ce6f
<wob_jonas> `` perl -we \'open$I,"<",$ARGV[0]or die;local$/;$s=<$I>;$s=~s/(.*;) d.*/$1 discrete, discreet./s;print substr($s,200),"||";open$O,">",$ARGV[0];print$O $s;\' "wisdom/b_jonas can\'t spell"
author | HackBot |
---|---|
date | Wed, 10 May 2017 23:53:46 +0000 |
parents | 1794894163e2 |
children |
line wrap: on
line source
#!/bin/sh cd /var/irclogs/_esoteric if [ "$1" ]; then grep -P -i -- "$1" ????-??-??.txt | shuf -n 1 else file=$(shuf -en 1 ????-??-??.txt) echo "$file:$(grep "<.*>" $file | shuf -n 1)" | sed "s=<[^>]*> ==" fi