view bin/runcpp @ 9940:d5eaf076cba2

<shachaf> slwd adventure//s#\\. #. #g
author HackBot
date Sun, 11 Dec 2016 19:42:35 +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