annotate bin/ordu @ 4499:bd7f812be8ef

<oerjan> rm bin/cat
author HackBot
date Sat, 22 Feb 2014 02:51:16 +0000
parents 02775a0b8839
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3783
2a07ae01de70 <fizzie> sed \'s/ord/sprintf "U+%x", ord/\' bin/ord > bin/ordu
HackBot
parents:
diff changeset
1 #!/bin/sh
4492
02775a0b8839 <ion> sed -i -re \'s/echo ("?)\\$[@*]\\1 /print_args_or_input "$@" /g\' bin/complain bin/ord bin/ordu
HackBot
parents: 3783
diff changeset
2 print_args_or_input "$@" | perl -C7 -pe 'chomp; $_ = join(" ", map { sprintf "U+%x", ord } split //, $_);'