[prev in list] [next in list] [prev in thread] [next in thread]
List: aix-l
Subject: Antwort: save set -x output?
From: Christian Schulz <Christian.Schulz () OERAG ! DE>
Date: 2013-01-08 6:04:46
Message-ID: OFC1CDCE86.3B9AB2C9-ONC1257AED.002134B6-C1257AED.0021640E () oerag ! de
[Download RAW message or body]
Hi,
IBM AIX Discussion List <aix-l@Princeton.EDU> schrieb am 07.01.2013
22:29:54:
> I am trying to debug a UNIX script using set -x/set -v. Does anyone
> know how to direct the results to anything other than standard
> output? I tried using the redirect prompt >, but can only save the
> actual script output, not the debug information.
Invoking your script you could try redirecting with "> filename 2>&1"
which puts stderr output into the same destination as stdout.
Regards
Christian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic