view bin/runc @ 4422:0dd2430deb55

<kmc> printf \'echo "$1" | /hackenv/lib/c++decl\\n\' > bin/c++decl && chmod +x bin/c++decl
author HackBot
date Sun, 09 Feb 2014 02:02:26 +0000
parents ee2e8950bb3c
children 81b2b9bd8d25
line wrap: on
line source

#!/bin/bash
t=`tempfile`
echo -e "$@" | gcc -o $t -x c - 2>/dev/null && $t
rm $t