From owner-cvs-all Mon Jun 10 15:41:57 2002 Delivered-To: cvs-all@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 524A537B406; Mon, 10 Jun 2002 15:41:48 -0700 (PDT) Received: from hades.hell.gr (patr530-a109.otenet.gr [212.205.215.109]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5AMfjZN018481; Tue, 11 Jun 2002 01:41:46 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g5AMfieP019367; Tue, 11 Jun 2002 01:41:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g5AMfiOu019366; Tue, 11 Jun 2002 01:41:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 11 Jun 2002 01:41:40 +0300 From: Giorgos Keramidas To: Alfred Perlstein Cc: committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/mergemaster mergemaster.sh Message-ID: <20020610224140.GE18221@hades.hell.gr> References: <20020610071649.89D2E37B409@hub.freebsd.org> <20020610221856.GD18221@hades.hell.gr> <20020610223616.GR88163@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020610223616.GR88163@elvis.mu.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-10 15:36 -0700, Alfred Perlstein wrote: > * Giorgos Keramidas [020610 15:22] wrote: > > On 2002-06-10 00:16 -0700, Doug Barton wrote: > > > dougb 2002/06/10 00:16:42 PDT > > > > > > Modified files: > > > usr.sbin/mergemaster mergemaster.sh > > > Log: > > > Go back to taking the user's umask into account. Thanks to Alfred for > > > hatching the idea of using dc, and Giorgos (keramida) for incubating it. > > _ > > __ __ ___ __ __ _ _ ___ ___ ___ | | > > \ \ / / / _ \ \ \ /\ / / | | | | / __| / _ \ / _ \ | | > > \ V / | __/ \ V V / | |_| | | (__ | (_) | | (_) | | | > > \_/ \___| \_/\_/ \__, | \___| \___/ \___/ |_| > > |___/ > > > > Thank you for all the work you put into importing stat(1) and > > simplifying what it takes to make this work :-) > > GRR!!! I'm pissed that sh(1) doesn't mention that one can do > binary arithmatic within $(()), I spent an hour looking for > some utility that could... It can even do *bitwise* operations !!! I was looking for some way to do (foo & umask), and ended up reading the code ot src/{bin,sbin,usr.bin,usr.sbin}/* only to discover that sh(1) was the thing ;-) Truly embarassing. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message