view bin/runcpp @ 10090:3aba6e4437c3

<oerjan> slwd twint-e//s/he/He/
author HackBot
date Tue, 03 Jan 2017 01:15: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