view bin/runcpp @ 10971:0b7c2ac84f2e

<oerjan> revert
author HackBot
date Mon, 29 May 2017 08:09:08 +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