From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <85ddf2f6f3d679b9fc463f5dda358380@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] termrc changes Date: Tue, 28 Nov 2006 14:37:25 -0500 From: geoff@plan9.bell-labs.com In-Reply-To: <96c995c7f80addcb2620cc3dde33e755@plan9.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: e7ccd708-ead1-11e9-9d60-3106f5b1d025 The new termrc avoids using test when looking for swap partitions. The old termrc sometimes invoked test as test -f file1 file2 which is incorrect, though tolerated by the new test command because of the need to tolerate unprocessed arguments in the presence of short-circuit -a and -o evaluation. If test were modified to process all its arguments at the start (presumably building an expression tree), it could then complain about excess arguments again.