view bin/runcpp @ 9950:7f0e7ff05273

<oerjan> revert 9947
author HackBot
date Mon, 12 Dec 2016 02:44:19 +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