delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/05/09:13:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: base-files: New files to fix permission issues (was Re: 1.7.10/1.7.11: .Net programs started from a cygwin console may fail.)
Date: Mon, 5 Mar 2012 08:13:08 -0600
Message-ID: <2BF01EB27B56CC478AD6E5A0A28931F2040E0F25@A1DAL1SWPES19MB.ams.acs-inc.net>
In-Reply-To: <20120302124103.GB3795@calimero.vinschen.de>
References: <20120302124103 DOT GB3795 AT calimero DOT vinschen DOT de>
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT acs-inc DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id q25EDXUZ023842

From: Corinna Vinschen

> Thanks for the review.  Like this?

If you're open to improvements, the form
	x=$(($x + 1))
could arguably be improved with any of the following:
	x=$((x + 1))
	let x=x+1
	((x=x+1))
	((x++))
	((++x))

--Ken Nellis

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019