Mercurial > repo
view bin/en2sv @ 6875:f0e600f03e07
<izabera> ` printf \'(($#==1)) && set -- "${1%% *}" "${1#* }"; key=${1,,}; shift; cat <<< "${*,,}" > "wisdom/$key" && echo "Learned \xc2\xab$key\xc2\xbb"\' > bin/leann
author | HackBot |
---|---|
date | Tue, 16 Feb 2016 01:49:01 +0000 |
parents | a046b5dfe812 |
children |
line wrap: on
line source
#!/usr/bin/perl use Encode; binmode *$_,"encoding(utf8)" for STDIN,STDOUT; local$/; for (split//,<STDIN>) { rand(5)<3 and y/EOeo/\xc4\xc5\xe4\xe5/; print }