view bin/runcpp @ 11195:03cb49a25518

<shachaf> swrjan s/shifting/shifty/
author HackBot
date Thu, 21 Sep 2017 00:36:35 +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