annotate bin/ord @ 4058:d6a049bf90e4

<mrhmouse> echo "(function(){var e,l,o,t;t=process.argv[2],(null!=t?t.length:void 0)||(console.log(\'Usage: ello <name>\'),process.exit()),o=/(.*)(e)$/i,e=/(.*)([bcdfghjklmnpqrstvwxz])([o0].*)/i,l=/[bcdfghjklmnpqrstvwxz]/i,console.log(e.test(t)?t.replace(e,function(e,l,o,t){return l+o+\'ell\'+t}):o.test(t)?t.replace(o,function(e,l){return l+\'ello\'}):l.test(t)?t+\'ello\':\'Hello, \'+t+\'!\')}).call(this);" >> bin/ello
author HackBot
date Fri, 22 Nov 2013 15:58:10 +0000
parents c61184d37f3b
children 02775a0b8839
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3845
c61184d37f3b <oerjan> sed -i \'s/sh/bash/\' bin/ord
HackBot
parents: 2114
diff changeset
1 #!/bin/bash
2114
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
2 echo "$@" | perl -C7 -pe 'chomp; $_ = join(" ", map { ord } split //, $_);'