view bin/runcpp @ 11377:89cd42b44300

<shachaf> sled bin/forget//s/)"$/& \\&\\& \\\\/
author HackBot
date Wed, 28 Feb 2018 02:01:22 +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