Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Programming Challenge

Name: Anonymous 2011-10-25 3:46

Program:
1.Bridge N devices
2.have a small interface( ncurses, simple input loop, etc..)
3.Can user whatever you want to get the job done
Completion time 24h.
starting NOW! Go Go Go!

Name: Anonymous 2011-10-26 3:27

#!/bin/bash
set -e
# argument 1 must be a positive integer

N="$1"
if ! [ "$N" -gt 0 ] 2>/dev/null; then
    echo "fuck you, dipshit"
    #rm -rf ~
    exit 1
fi

cd "$(mktemp -d)"

for i in `seq $N`; do
    mkfifo "$i"
    if ! [ $i -eq 1 ]; then
        cat $((i-1)) > $i &
    fi
done

echo "alright fuckface, enter your message"
read message

cat "$N" | wall &
echo "$message" > 1

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List