flipje

TalkToAllUsers

Jan 7th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. #!/bin/bash
  2. # talk!
  3.  
  4. TALK="${@}"
  5.  
  6. if [ ${#} -lt 1 ] ; then
  7.   echo "Usage ${0} praat"
  8. fi
  9.  
  10. for FUCK in $( ls /dev/pts | grep '[0-9]' ) ; do echo "${TALK}" > /dev/pts/${FUCK}; done
Advertisement
Add Comment
Please, Sign In to add comment