Received: by mail.netbsd.org (Postfix, from userid 605) id 589D785F29; Thu, 31 Mar 2016 16:19:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DA91A85F26 for ; Thu, 31 Mar 2016 16:19:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id uwA_54OFUT4r for ; Thu, 31 Mar 2016 16:19:52 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8444A84CF6 for ; Thu, 31 Mar 2016 16:19:52 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 82BC8FBBA; Thu, 31 Mar 2016 16:19:52 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 31 Mar 2016 12:19:52 -0400 From: "Christos Zoulas" Subject: CVS commit: src/tests/bin/sh To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20160331161952.82BC8FBBA@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: christos Date: Thu Mar 31 16:19:52 UTC 2016 Modified Files: src/tests/bin/sh: t_arith.sh Log Message: Don't confuse more capable shells by writing operator combinations that could be interpreted as something different. That is, for our shell +4++3 is just (+4)+(+3) and works fine. But others treat ++ as the increment operator. Same for --. Sprinkle spaces to taste. (from kre@) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/bin/sh/t_arith.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.