view bin/runcpp @ 11010:f789dea57373

<oerjan> learn Eventually we\'ll have a better wisdom here.
author HackBot
date Wed, 14 Jun 2017 03:22:53 +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