Mercurial > repo
view bin/runcpp @ 4144:56f2f3b279f6
<FireFly> echo -e \'#!/bin/bash\\nsed \'s/\\\\n/\\n/g\' >/tmp/in.cpp <<<"$@"; g++ -o /tmp/a.out /tmp/in.cpp; /tmp/a.out\' >bin/runcpp && chmod a+x bin/runcpp
author | HackBot |
---|---|
date | Fri, 06 Dec 2013 15:48:11 +0000 |
parents | 6718c9d2595e |
children | 9bd7a48e95a5 |
line wrap: on
line source
#!/bin/bash sed s/ /n/g >/tmp/in.cpp <<<"$@"; g++ -o /tmp/a.out /tmp/in.cpp; /tmp/a.out