scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

gw (265B)


      1 #!/bin/sh
      2 # This prints random words from the linux dictionary.
      3 case "$1" in
      4 h)
      5 	echo "$(shuf -n 32 ~/HappyWords.TXT --random-source=/dev/urandom | tr '\n' ' ')"
      6 	;;
      7 *)
      8 	echo "$(shuf -n 32 /usr/share/dict/words --random-source=/dev/urandom | tr '\n' ' ')"
      9 	;;
     10 esac