Mercurial > repo
annotate bin/ello @ 4065:6141355f1222
<mrhmouse> mv node/node-*/bin/node bin/node
author | HackBot |
---|---|
date | Fri, 22 Nov 2013 16:03:43 +0000 |
parents | d6a049bf90e4 |
children | 4525db6837db |
rev | line source |
---|---|
4049 | 1 #!/usr/bin/env node |
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
HackBot
parents:
4057
diff
changeset
|
2 (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); |