Mercurial > repo
view bin/runcpp @ 4232:89de067c11bd
<oerjan> echo test >test
author | HackBot |
---|---|
date | Thu, 26 Dec 2013 20:46:10 +0000 |
parents | 9bd7a48e95a5 |
children |
line wrap: on
line source
#!/bin/bash sed s:\\n:\n:g >/tmp/in.cpp <<<"$@"; g++ -o /tmp/a.out /tmp/in.cpp; /tmp/a.out