home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!cs.utexas.edu!swrinde!emory!ogicse!das-news.harvard.edu!husc-news.harvard.edu!husc11!haley
- From: haley@husc11.harvard.edu (Elizabeth Haley)
- Newsgroups: comp.unix.questions
- Subject: Re: wanted shell script for .plan
- Message-ID: <haley.721043774@husc11>
- Date: 6 Nov 92 09:56:14 GMT
- Article-I.D.: husc11.haley.721043774
- References: <1992Nov4.191356.25875@cis.ohio-state.edu> <Bx7Kzt.65J@cs.dal.ca> <1992Nov5.115748.8694@walter.cray.com> <Bx9Go2.5su@cs.dal.ca>
- Lines: 43
- Nntp-Posting-Host: husc11.harvard.edu
-
- Since Steve is OTR on the subject, and I am working on related things,
- I will tell you what I have found out...
-
- I set up a named pipe (FIFO), which I called test2:
-
- > mknod test2 p
-
- Then I created a file called test:
-
- date > test2
- echo "This is a test" > test2
- exec csh test &
-
- Then I did:
-
- > test &
- > date; cat test2
-
- Which produced two identical copies of the date, one from this shell
- and the other from the pipe, and of course the phrase "This is a
- test".
-
- One problem, though, I also get an process exit notice from the shell
- to tell me that my job had finished...
-
- Any way around that?
-
- BTW: Don't answer, Steve, I wouldn't want to take up your precious
- complaining time...
- --
- When life seems to be getting you down...
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- ======David Charles Todd, tHE mAN wITH tHREE fIRST nAMES======
- -------------------- David misses eBeth ----------------------
- =-=-=-=-=-=-=-=-=-hacksaw@headcheese.daa.uc.edu=-=-=-=-=-=-=-=
- ...ask it why it is torturing geese
-
-
- --
- =---------------------------------------------------------------------------=
- =The author of this letter is a fabulously intelligent person and is very =
- =Silly. She is also remarkably well loved, by the author of this signature. =
- =---------------------------haley@husc9.harvard.edu-------------------------=
-