citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

relayer (160B)


      1 #!/usr/bin/env bash
      2 
      3 POST="$(cat)"
      4 
      5 printf "using post '%s'\n" "$POST" >&2
      6 
      7 for relay in $(cat ~/dotfiles/relays)
      8 do
      9 	<<<"$POST" websocat "$relay" &
     10 done
     11 
     12 wait