Mercurial > repo
view bin/ord @ 3868:5909a6756b89
<oerjan> sed -i -e \'1aimport sys\' -e \'s/print/sys.write/\' bin/CaT #Let\'s see how much i messed this up
author | HackBot |
---|---|
date | Fri, 04 Oct 2013 22:39:05 +0000 |
parents | c61184d37f3b |
children | 02775a0b8839 |
line wrap: on
line source
#!/bin/bash echo "$@" | perl -C7 -pe 'chomp; $_ = join(" ", map { ord } split //, $_);'