view bin/runcpp @ 9478:fb6cfe9a5c67

<shachaf> revert
author HackBot
date Thu, 27 Oct 2016 01:43:38 +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