view bin/runc @ 2040:9464fe0ca8a2

<ais523> echo "#!/bin/sh" >bin/list; echo -n \'oldpwd=`pwd`; cd /var/irclogs/_esoteric; name=$(cat $(ls ????-??-??.txt | tail -1) | tail -1 | sed "s/[^<]*<//; s/>.*//"); cd $oldpwd; echo -n $name "" >> bin/list; echo \' >> bin/list
author HackBot
date Thu, 07 Feb 2013 21:46:12 +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