view bin/runcpp @ 4302:4c8ac460e606

<FireFly> echo -e \'#!/bin/sh\\nrelcome | r13\' >bin/r13elcome; chmod +x bin/r13elcome
author HackBot
date Tue, 14 Jan 2014 21:03:57 +0000
parents 9bd7a48e95a5
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