From: Edgar Toernig Date: Thu, 28 Apr 2005 21:31:04 GMT Subject: Re: How to get bash to shut up about SIGPIPE? Message-ID: <20050428233104.3e606ba9.froese@gmx.de> In-Reply-To: Linus Torvalds wrote: > > Damn bash. What's the magic incantation that says SHUT UP!? Try this: + { set -e; trap 'exit 1' SIGPIPE $revls | $revsort | while read time commit parents; do [ "$revfmt" = "rev-list" ] && commit="$time" ... - done | ${PAGER:-less} ${PAGER_FLAGS:--R} + done; } | ${PAGER:-less} ${PAGER_FLAGS:--R} Ciao, ET.