From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 30 Sep 2004 16:22:36 +0700 From: php-coder X-Mailer: The Bat! (v1.61) X-Priority: 3 (Normal) Message-ID: <223377194.20040930162236@ngs.ru> To: Jury Levykin Subject: Re: [Comm] bash -- please help In-Reply-To: <415BCBF8.60104@list.ru> References: <415BCBF8.60104@list.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 09:20:03 -0000 Archived-At: List-Archive: List-Post: 0000100101011110100100101::30.09.2004::0110001001001000100111100100010 Здравствуйте, Jury! Отвечаю на Ваше письмо: JL> summ=0 JL> x1=2 JL> x2=3 JL> summ=$summ + $x1 JL> summ=$summ + $x2 summ=$(($summ + $x1)) или summ=$[$summ + $x1] Так вроде... -- С уважением, php-coder (mailto:php-coder[at]ngs[dot]ru) Registered Linux User #327594 ALT Linux Master 2.2 (kernel 2.4.27) 010010010010010001010101100::Linux RuleZz!::100010010001000100010001110