view bin/runcpp @ 11468:ff752d36eb0e draft

<fizzie> sled bin/url//s,https://hackego.esolangs.org/,https://hack.esolangs.org/,
author HackEso <hackeso@esolangs.org>
date Sun, 08 Apr 2018 18:18:04 +0100
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