Summary: | Unable to feed "trap -p" output into a pipe | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | at <at> |
Component: | bash | Assignee: | placeholder <placeholder> |
Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P2 | CC: | glebfm, ldv, placeholder |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
URL: | http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00019.html |
Description
at@altlinux.org
2005-08-09 03:33:33 MSD
Same happens with bash-3.0 Same with bash-3.1.1. From Chet Ramey answer: "Each element of a pipeline is run in a subshell. Subshells don't traps from their parent." http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00019.html |