Differences between version 3 and revision by previous author of SIGPIPE.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Tuesday, October 29, 2002 8:40:24 pm | by JohnMcPherson | Revert |
Older page: | version 1 | Last edited on Friday, September 27, 2002 9:00:09 am | by PerryLorier | Revert |
@@ -1,3 +1,7 @@
!!!Signal: Pipe
This signal is raised when a program writes to a socket or fifo that has no readers. The default action of this signal is to cause the program to terminate.
+
+You might see this message if you have a series of commands in a shell pipe line and one of the processes quits. Eg:
+ $ cat somefile | head
+After "head" has printed out the first 10 lines and quits, "cat" will get a pipe error. However, cat catches the signal and quits gracefully. If you pipe the output of some cvs(1) commands into less(1) and quit, then you might see the shell print out a message as cvs doesn't handle this signal gracefully.