[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Terminal stop when a group of pipelines is piped to a pager
From: |
Chet Ramey |
Subject: |
Re: Terminal stop when a group of pipelines is piped to a pager |
Date: |
Sun, 2 Oct 2016 17:01:43 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 10/1/16 2:25 AM, Abhijit Dasgupta wrote:
> Well, on second thought, it seems that the issue I originally reported may be
> related to a bash bug after all: It occurs whenever "set -o functrace" and
> "trap '...' DEBUG" are both in place, and can be reproduced as follows:
>
> set -o functrace
> trap ':' DEBUG
> { date; who | sort; } | more # Gets stopped
> { who | sort; date; } | more # Works fine
Try it on a devel branch version after 9/10/2016. I can't reproduce it
with the current devel version.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/