diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-08-05 14:55:09 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-08-05 14:55:44 +0200 |
commit | 774a8f2d098fa242c5bac528e51ca62fca0bd9a4 (patch) | |
tree | 4592e5979cb14cf38a666a990a76636297e5b95e /fq | |
parent | eb39f3029e54063170105c67128d2300f87a1e3b (diff) | |
download | nq-774a8f2d098fa242c5bac528e51ca62fca0bd9a4.tar.gz nq-774a8f2d098fa242c5bac528e51ca62fca0bd9a4.tar.xz nq-774a8f2d098fa242c5bac528e51ca62fca0bd9a4.zip |
rename fq to fq.sh
Diffstat (limited to 'fq')
-rwxr-xr-x | fq | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/fq b/fq deleted file mode 100755 index 99774fe..0000000 --- a/fq +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# fq - tail -F the queue outputs, quitting when the job finishes - -tailed=false -for f in ${NQDIR:-.}/,*; do - if ! nq -t $f; then - tailed=true - printf '==> %s\n' "$f" - tail -F $f & p=$! - nq -w $f - kill $p - fi -done - -if ! $tailed; then - cat $f -fi |