view bin/runcpp @ 9289:1bb4d7528163

<oerjan> addquote <fungot> boily: i walked 5 miles to get to
author HackBot
date Sat, 15 Oct 2016 16:06:52 +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