Mercurial > repo
view bin/runcpp @ 7710:c21f155790d9
<tswett> cat \'#!/bin/rm\' > bin/you-can-only-run-this-once; chmod +x you-can-only-run-this-once
author | HackBot |
---|---|
date | Wed, 04 May 2016 00:33:56 +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