Mercurial > repo
view bin/runcpp @ 9539:ed989b060aca
<shachaf> sled bin/hlnp//s#=#=\'#; s#)#)\'#
author | HackBot |
---|---|
date | Sun, 30 Oct 2016 10:56:40 +0000 |
parents | 7f957c1f4661 |
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