bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-grep] Grep: Broken pipe error


From: Bob Proulx
Subject: Re: [bug-grep] Grep: Broken pipe error
Date: Sat, 5 Feb 2005 17:41:47 -0700
User-agent: Mutt/1.5.6+20040907i

Paul Eggert wrote:
> "McCully, Dwayne (NIH/NLM/LHC)" <address@hidden> writes:
> > After compiling grep 2.5.1a on Solaris 2.9, I try to use the grep program
> > but get the follwing error:
>
> Most likely you are ignoring the PIPE signal instead of the default
> behavior (which is to exit).
> [...]
>   $ trap '' PIPE

In many shells the current set of trap handlers will be printed with
the trap command.  For example in the above case you would see:

  trap
  trap -- '' SIGPIPE

In a "normal" configuration without any shell trap handlers specified
there will be no output printed to the above command.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]