From owner-freebsd-questions@FreeBSD.ORG Mon Jan 14 16:17:11 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3040980C for ; Mon, 14 Jan 2013 16:17:11 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id F1D00267 for ; Mon, 14 Jan 2013 16:17:10 +0000 (UTC) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 012E3A717FE for ; Mon, 14 Jan 2013 11:17:09 -0500 (EST) Received: (qmail 21553 invoked from network); 14 Jan 2013 16:17:09 -0000 Received: by simscan 1.4.0 ppid: 20326, pid: 28944, t: 0.1733s scanners: clamav: 0.88.2/m:52/d:13495 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Jan 2013 16:17:09 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id C176133C1D; Mon, 14 Jan 2013 11:17:03 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 7DABB39855; Mon, 14 Jan 2013 11:17:03 -0500 (EST) From: Lowell Gilbert To: Fbsd8 Subject: Re: sh script problem with capturing return code References: <50EC9009.3030305@a1poweruser.com> <20130108224626.8c2d89cd.freebsd@edvax.de> <50EC99F2.3020404@a1poweruser.com> <44d2xevlhb.fsf@lowell-desk.lan> <50ED88CF.7060308@a1poweruser.com> <448v82unxb.fsf@lowell-desk.lan> <444niqum7n.fsf@lowell-desk.lan> <44zk0it6t5.fsf@lowell-desk.lan> <44r4ltu8zp.fsf@lowell-desk.lan> <50EE2604.4020809@a1poweruser.com> <44pq188tnx.fsf@lowell-desk.lan> <50F41797.2050001@a1poweruser.com> Date: Mon, 14 Jan 2013 11:17:03 -0500 In-Reply-To: <50F41797.2050001@a1poweruser.com> (fbsd8@a1poweruser.com's message of "Mon, 14 Jan 2013 09:35:03 -0500") Message-ID: <44y5fvg2o0.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 16:17:11 -0000 Fbsd8 writes: > Lowell Gilbert wrote: >> This fixes the problem that was bothering you, but the interactions of >> different features are complicated, and many of them are documented in >> fairly loose language. >> > Is that the diplomatic way of saying the manpage for mtree sucks, and > leaves a great deal to be desired? Not really; I was looking at the code at the time I wrote that. To be fair, I'm not sure what I would *expect* for some of the possible interactions. > When it comes to testing your patch sure I would like to. But here > again I have a problem. For security reasons I can not use source code > to install or update any operating system. I have no sources on my > system to compile from. I use the fresh install method from a > downloaded disc1.iso burned to cdrom. I was thinking you could extend the shell scripts using your existing mtree executable.