From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8000 invoked by alias); 30 Dec 2015 15:41:20 -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: 21108 Received: (qmail 10067 invoked from network); 30 Dec 2015 15:41:16 -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 Message-ID: <5683F898.7010907@inlv.org> Date: Wed, 30 Dec 2015 16:30:32 +0100 From: Martijn Dekker User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: Suppress tracing of "set +x" References: <20151230104531.GA20496@linux.vnet.ibm.com> In-Reply-To: <20151230104531.GA20496@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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, - M.