[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] Redirection entree-sortie
il faut utiliser les pipe nommé :
mknod FIFO1 p # Creation d'un pipe nomme 1
mknod FIFO2 p # Creation d"un pipe nomme 2
( cat FIFO1 | script1 > FIFO2 ) & # lancement en tache de fond du script1
cat FIFO2 | script2 > FIFO1
Il y a peut-être plus simple.
----- Message d'origine -----
De : "Frederic Detienne" <fd@cisco.com>
À : <linux-team@rtfm.be>
Envoyé : mercredi 18 octobre 2000 11:45
Objet : [linux-team] Redirection entree-sortie
> Linux-Team,
>
> Je voudrais lancer deux process dont les entrees et sorties standard
seraient croisees (la sortie de l'un parlerait a l'entree de l'autre et
vice-versa).
>
> Est-ce possible dans un des shells ? Comment ?
>
> merci,
>
> fred
> --------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/