citadel

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

tailrun (118B)


      1 #!/usr/bin/env bash
      2 
      3 file=$1
      4 
      5 shift
      6 
      7 while read line; do
      8 	echo "$line" | ${@//\{\}/$line}
      9 done < <(tail -n0 -f $file)