Mercurial > repo
view bin/runcpp @ 4338:03d5e464183c
<oerjan> echo "echo Woof!" >bin/spot; chmod +x bin/spot
author | HackBot |
---|---|
date | Fri, 17 Jan 2014 01:53:57 +0000 |
parents | 9bd7a48e95a5 |
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