view bin/runcpp @ 6308:57c50985f3bd

<oerjan> rm hello
author HackBot
date Sat, 28 Nov 2015 07:29:57 +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