Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 01:41:40 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Alfred Perlstein <bright@mu.org>
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>
In-Reply-To: <20020610223616.GR88163@elvis.mu.org>
References:  <20020610071649.89D2E37B409@hub.freebsd.org> <20020610221856.GD18221@hades.hell.gr> <20020610223616.GR88163@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-06-10 15:36 -0700, Alfred Perlstein wrote:
> * Giorgos Keramidas <keramida@FreeBSD.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020610224140.GE18221>