Mercurial > repo
view bin/runcpp @ 8753:8c43a2d07d89
<oerjan> learn te/sting is important.
author | HackBot |
---|---|
date | Wed, 06 Jul 2016 01:02:54 +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