view bin/runcpp @ 12198:95f2fe947444 draft

<oerjan> revert
author HackEso <hackeso@esolangs.org>
date Thu, 28 Nov 2019 01:38:45 +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