Skip to content

Instantly share code, notes, and snippets.

@cmbaughman
Created August 5, 2020 18:02
Show Gist options
  • Save cmbaughman/6e96856d8802b5aa0e4ae5e4046f756d to your computer and use it in GitHub Desktop.
Save cmbaughman/6e96856d8802b5aa0e4ae5e4046f756d to your computer and use it in GitHub Desktop.
Generate White Noise
#!/bin/bash
while true;
do
printf "$(awk -v c="$(tput cols)" -v s="$RANDOM" 'BEGIN{srand(s);while(--c>=0){printf("\xe2\x96\\%s",sprintf("%o",150+int(10*rand())));}}')";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment