view bin/runcpp @ 9002:df6cebaf2ac8

<oerjan> mk test//ha
author HackBot
date Thu, 01 Sep 2016 23:26:12 +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