Article View: comp.unix.programmer
Article #145Re: Named pipes
From: Charles Hannum
Date: Mon, 27 Jul 1992 22:11
Date: Mon, 27 Jul 1992 22:11
17 lines
984 bytes
984 bytes
In article <92033@bu.edu> tesco@bumetb.bu.edu (Dances With Babes) writes: > > mknod testpipe p > cat testpipe & > ls > testpipe > The "cat" process ends after the ls is sent to the screen. This is the way named pipes have worked since The Dawn of Time. If you want to have multiple processes write to the pipe, you need the reader to reopen it. In the shell, you could do something like this: (while :;do cat testpipe;done)& -- - Charles Hannum, mycroft@ai.mit.edu White atheist male (WAM) pride!
Technical Details
Message-ID:
<1992Jul27.221133.27847@mintaka.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroftReferences:
<14u80cINNbd8@grasp1.univ-lyon1.fr> <1992Jul26.165838.1278@news.eng.convex.com> <92033@bu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.unix.programmer Subject: Re: Named pipes Message-ID: <1992Jul27.221133.27847@mintaka.lcs.mit.edu> Date: 27 Jul 92 22:11:33 GMT References: <14u80cINNbd8@grasp1.univ-lyon1.fr> <1992Jul26.165838.1278@news.eng.convex.com> <92033@bu.edu> Sender: news@mintaka.lcs.mit.edu Organization: /etc/organization Lines: 17