From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718211897.tru64-unix-managers.marc@archive.invalid> From: Ed Lewis Date: Mon, 24 Aug 1998 14:33:15 +0000 To: tru64-unix-managers Subject: named pipes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718211897 > Hi, > I need some help with a named pipes problem I am having. > The script I've enclosed uses named pipes to do an export > of a Oracle database. The command will do compression > as it exports. > The command works fine if the database is available. > The problem is when the database is not available, the commands > that remove the named pipes ( rm -f ) do not execute, and > the "compress" and "cat" commands will not be cleaned up. > Is there some error trapping I can use to make this work ? > Your help is appreciated. > thanks. > ed lewis > > mkfifo /tmp/pipe > mkfifo /tmp/pipe_logs > > cat /tmp/pipe | compress > /ora_exports/data/exp_fulld_lxop.data.Z > & > cat /tmp/pipe_logs | compress > /ora_exports/data/exp_fulld_lxop.log.Z > & > > exp parfile=/ora_exports/parfiles/exp_full > > rm -f /tmp/pipe > rm -f /tmp/pipe_logs > > >