Mercurial > repo
view bin/ord @ 2874:f3d155a01289
<shachaf> echo $\'#!/bin/bash\\nyes "$@"\' > bin/z; chmod +x bin/z; wc bin/z
author | HackBot |
---|---|
date | Mon, 06 May 2013 14:47:30 +0000 |
parents | 7914d7e0b500 |
children | c61184d37f3b |
line wrap: on
line source
#!/bin/sh echo "$@" | perl -C7 -pe 'chomp; $_ = join(" ", map { ord } split //, $_);'