Mercurial > repo
view bin/runc @ 1721:ab80805a8878
<elliott> echo "#!/bin/sh" >bin/undo; echo \'hg diff -c "$@" | patch -R\' >>bin/undo; chmod +x bin/undo
author | HackBot |
---|---|
date | Thu, 24 Jan 2013 21:13:03 +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