From 24ea318ed86f5e33653aa43e4d1abb4ae47490bc Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 30 May 2013 08:46:20 +0300 Subject: [PATCH] BASH_XTRACEFD=6 so that set -x output (if uncommented) doesn't mix with stderr of the remote command --- remoteusage/aboriginal.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remoteusage/aboriginal.mdwn b/remoteusage/aboriginal.mdwn index 8f4aa72..70980d9 100644 --- a/remoteusage/aboriginal.mdwn +++ b/remoteusage/aboriginal.mdwn @@ -23,8 +23,8 @@ Write the following code to a file, for example `remote-notmuch.sh`. # http://notmuchmail.org/remoteusage/aboriginal/ set -eu - # To trace execution, outcomment next line. Note that emacs input may ... - #exec 2>>remote-errors; echo -- >&2; set -x # ... change (no stderr). + # To trace execution, uncomment next line. + #BASH_XTRACEFD=6; exec 6>>remote-errors; echo -- >&6; set -x readonly SSH_CONTROL_SOCK='~'/.ssh/master-user@host:22 -- 2.43.0