sad-cmd (226 bytes)
1 #!/bin/sh 2 # see PROTOCOL for details 3 4 nosock () { 5 echo "Socket not found at $SAD_SOCK" 6 echo "Did you start the SAD?\nsad -f $SAD_SOCK &" 7 } 8 9 [ -e "$SAD_SOCK" ] || nosock 10 printf "%s %s\\n" "$1" "$2" | nc -NU "$SAD_SOCK"