annotate bin/runce @ 1283:8f92a8c0aeb4

<shachaf> echo $\'#!/bin/bash\\nexec translatefromto "auto no $1"\' > bin/translatetoerjan; chmod +x bin/translatetoerjan
author HackBot
date Mon, 07 Jan 2013 01:28:09 +0000
parents 85729b555d76
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
783
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
1 #!/bin/bash
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
2 t=`tempfile`
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
3 echo "$@" | gcc -o $t -x c - 2>/dev/null && $t
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
4 rm $t