annotate bin/runce @ 2051:7adfe703105b

<boily> list
author HackBot
date Thu, 07 Feb 2013 21:53:42 +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