<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>7610</bug_id>
          
          <creation_ts>2005-08-09 03:33:33 +0400</creation_ts>
          <short_desc>Unable to feed &quot;trap -p&quot; output into a pipe</short_desc>
          <delta_ts>2006-01-10 01:45:31 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>bash</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc>http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00019.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="at@altlinux.org">at</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28343</commentid>
    <comment_count>0</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2005-08-09 03:33:33 +0400</bug_when>
    <thetext>bash-2.05b$ trap -p
bash-2.05b$ trap &quot;echo ...&quot; EXIT
bash-2.05b$ trap -p EXIT
trap -- &apos;echo ...&apos; EXIT
bash-2.05b$ trap -p EXIT |wc -l
0
bash-2.05b$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34337</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-12-31 02:21:47 +0300</bug_when>
    <thetext>Same happens with bash-3.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34492</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2006-01-07 01:14:29 +0300</bug_when>
    <thetext>Same with bash-3.1.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34581</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2006-01-10 01:45:31 +0300</bug_when>
    <thetext>From Chet Ramey answer:
&quot;Each element of a pipeline is run in a subshell.
Subshells don&apos;t traps from their parent.&quot;

http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00019.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>