🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #511

Mid-pipe abort Handling?

#511
From: Conrad Drake
Date: Tue, 28 Jul 1992 01:32
22 lines
1040 bytes
Hi,
   a question OS2 gurus from a friend. In a make file he's used the
following construct

findfiles | prog1 | prog2

Now, the piping operation only returns the status of prog2.  Is there a
way of accessing the return status of the other piped processes? 

At the moment he's having to pass information along through prog1 &
prog2, which is unsatisfactory.

Thanks in anticipation,

Conrad DRake
---
"There's something stirring in my loins and it isn't the spirit of Jesus"
                - Helen Razor, JJJ announcer, 1992.

Email: conrad@pico.qpsx.oz.au
Snail: QPSX Communications, Private Bag 24, West Perth 6005, Australia. 
Numbers:(ph) +61 9 324 1641, (fx) +61 9 321 2984 (dod) 0604
Technical Details
Message-ID: <927@pico.OZ>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!pico!conrad

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!pico!conrad
From: conrad@pico.OZ (Conrad Drake)
Newsgroups: comp.os.os2.programmer
Subject: Mid-pipe abort Handling?
Message-ID: <927@pico.OZ>
Date: 28 Jul 92 01:32:48 GMT
Reply-To: conrad@pico.qpsx.oz.au
Organization: QPSX Communications
Lines: 23
X-Newsreader: Tin 1.1 PL4