bug-bash
[Top][All Lists]
Advanced

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

bash-3.1.1: unable to feed "trap -p" output into a pipe


From: Dmitry V. Levin
Subject: bash-3.1.1: unable to feed "trap -p" output into a pipe
Date: Sat, 7 Jan 2006 01:28:05 +0300

Hi,

A "trap -p" output doesn't feed into a pipe:
$ trap -p                                                                       
                   
$ trap "echo ..." EXIT                                                          
                   
$ trap -p EXIT                                                                  
                   
trap -- 'echo ...' EXIT                                                         
                             
$ trap -p EXIT |wc -l                                                           
                   
0                                                                               
                             

Original bug report:
https://bugzilla.altlinux.org/show_bug.cgi?id=7610


-- 
ldv

Attachment: pgpxzBl9M_26q.pgp
Description: PGP signature


reply via email to

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