Mercurial > repo
annotate bin/ordu @ 3911:8c112ffd5765
<kmc> addquote zzo38 [~zzo38@24-207-49-17.eastlink.ca] has quit [Quit: I need the stats for the small leech, not the big one. So, if you write it on here while I am gone then when I return I will check.]
author | HackBot |
---|---|
date | Tue, 15 Oct 2013 22:19:50 +0000 |
parents | 2a07ae01de70 |
children | 02775a0b8839 |
rev | line source |
---|---|
3783
2a07ae01de70
<fizzie> sed \'s/ord/sprintf "U+%x", ord/\' bin/ord > bin/ordu
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
2a07ae01de70
<fizzie> sed \'s/ord/sprintf "U+%x", ord/\' bin/ord > bin/ordu
HackBot
parents:
diff
changeset
|
2 echo "$@" | perl -C7 -pe 'chomp; $_ = join(" ", map { sprintf "U+%x", ord } split //, $_);' |