view bin/runcpp @ 4587:6df398684375

<oerjan> chmod +x url; mv url bin
author HackBot
date Sat, 19 Apr 2014 23:50:37 +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