Smallest Stack Ever

pieterhpieterh wrote on 06 May 2011 08:35


@dln_eintr (Daniel Lundin) broke two or three records with this one: zmq_push() { m=$(cat) && echo -e $(printf '\\x01\\x00\\x%02x\\x00%s' $((1 + ${#m})) "$m") | nc -q1 $@; }

This is the first independent ØMQ client stack, it's the first written in Bash, and it's the first to fit into a tweet. I've no idea if it works or not, but and it's sure cute.


Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License