[26509] in Source-Commits
Re: /svn/athena r25590 - in trunk/debathena/debathena/dotfiles: .
daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Sun Jul 1 23:59:32 2012
Date: Sun, 1 Jul 2012 23:59:29 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <AA57262C-0949-4BDF-8B54-56F6D468E3A9@MIT.EDU>
Message-ID: <alpine.GSO.1.10.1207012358220.18441@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Fri, 29 Jun 2012, Jonathan Reed wrote:
>>
>> Does variable assignment change $? ?
>
> $?foo is "is foo set". That's the same syntax for all the skip_foo
> variables. We tell people a variety of things, and in fact if you did
> set skip_sanity_checks=no-never-skip-them, this would trigger that code.
> "Don't do that.", but I can add the extra code and/or clean up the
Sorry for the confusion; my remark was in tandem with the one about moving
"missing=0" up a line -- if that variable assignment reset the value of
"$?", then the conditional would fail.
-Ben
>
>> The style would probably be better to move "missing=0" up one line,
>> regardless.
>
> Sure.