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: pgpPAM07UBzQ6.pgp
Description: PGP signature

_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to