From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20896 invoked by alias); 30 Dec 2015 16:07:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21109 Received: (qmail 20239 invoked from network); 30 Dec 2015 16:07:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: vogt@linux.vnet.ibm.com X-IBM-RcptTo: zsh-users@zsh.org Date: Wed, 30 Dec 2015 16:55:38 +0100 From: Dominik Vogt To: zsh-users@zsh.org Subject: Re: Suppress tracing of "set +x" Message-ID: <20151230155538.GA31558@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: zsh-users@zsh.org References: <20151230104531.GA20496@linux.vnet.ibm.com> <5683F898.7010907@inlv.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5683F898.7010907@inlv.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15123015-0037-0000-0000-0000051F61CF On Wed, Dec 30, 2015 at 04:30:32PM +0100, Martijn Dekker wrote: > Dominik Vogt schreef op 30-12-15 om 11:45: > > "set -x" is very handy when printing commands from buils scripts > > and such, but what really annoys me is that the final "set +x" > > that ends tracing is also printed. Is there really no way to > > suppress tracing of this specific command? > > { set +x; } 2>/dev/null > > Hope this helps, Yes, thanks! Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany