Mercurial > repo
view bin/runcpp @ 6883:6ef896cf3bbb
<shachaf> ` chmod +x bin/cmd
author | HackBot |
---|---|
date | Tue, 16 Feb 2016 02:04:17 +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