view bin/runcpp @ 4499:bd7f812be8ef

<oerjan> rm bin/cat
author HackBot
date Sat, 22 Feb 2014 02:51:16 +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