[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feeding gnu parallel with a fifo file
From: |
Ole Tange |
Subject: |
Re: Feeding gnu parallel with a fifo file |
Date: |
Sun, 16 Jan 2011 23:40:44 +0100 |
> From: Luis Otero <loteroc@gmail.com>
>
> Hi,
> is it possible to feed gnu parallel with a fifo file (instead of a
> regular file)?
Yes:
$ mkfifo foo
$ seq 1 10 > foo &
$ parallel -a foo echo
Or:
$ mkfifo foo
$ seq 1 10 > foo &
$ parallel < foo echo
I am a bit puzzled why you ask: It would be faster simply to try it
than to send an email.
/Ole