view bin/runcpp @ 7649:1a5ffb0e99d1

<oerjan> learn_append oerjan He sometimes puns without noticing it.
author HackBot
date Tue, 03 May 2016 00:10:06 +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