소스 검색

Bring back cat to the pipe

For some strange reason, the tee pipe did not work unless stuffed by cat
(all the output pipes remained empty)
Alois Mahdal 11 년 전
부모
커밋
7373a65565
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      include/www.sh

+ 1
- 1
include/www.sh 파일 보기

@@ -66,7 +66,7 @@ find_uri() {
66 66
         #
67 67
         mkfifo maybe_uris maybe_ids maybe_exprs maybe_kws \
68 68
                uris uris_from_ids uris_from_exprs uris_from_kws
69
-        tee maybe_uris maybe_ids maybe_exprs maybe_kws >/dev/null &
69
+        cat | tee maybe_uris maybe_ids maybe_exprs maybe_kws >/dev/null &
70 70
         ##
71 71
         # process each pipe *async* by different filter
72 72
         #