view bin/runcpp @ 10142:941f578c6b3e

<boily> le/rn inventory//An inventory is a collection of inventions. Taneb has them.
author HackBot
date Thu, 19 Jan 2017 01:58:00 +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