Date: Sun, 16 Feb 2003 23:10:55 +0100 From: Per olof Ljungmark <peo@intersonic.se> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: catch output from sh -xv to a file Message-ID: <3E500C6F.2030805@intersonic.se>
index | next in thread | raw e-mail
Need advice on how to modify first line of shell script so that script can run normally (as called from another program, not from the command line) and write debugging output to a file like: #!/bin/sh echo DEFANGED.1007 exit #!/bin/sh -xv <pipe stuff to file> Thanks, Per olof To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E500C6F.2030805>
