From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <46C933C2.6080303@stc.donpac.ru> Date: Mon, 20 Aug 2007 10:25:06 +0400 From: Eugene Prokopiev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.8.1.4) Gecko/20070531 SeaMonkey/1.1.2 MIME-Version: 1.0 To: dk@altlinux.ru, ALT Linux Community References: <46C57871.7000007@stc.donpac.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Mon Aug 20 10:25:25 2007 X-DSPAM-Confidence: 0.9899 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 78,46c933d426325030810751 X-DSPAM-Factors: 27, Received*Postfix+with, 0.01000, User-Agent*20070531+SeaMonkey, 0.01000, С, 0.01000, To*ALT+Linux, 0.01000, Content-Type*text+plain, 0.01000, Subject*Re+Comm, 0.01000, User-Agent*ru-RU+rv, 0.01000, Received*ESMTP, 0.01000, уже, 0.01000, уже, 0.01000, Content-Transfer-Encoding*8bit, 0.01000, User-Agent*X11+U, 0.01000, это, 0.01000, Received*enp-mobile.ats-network.stc.donpac.ru+unknown, 0.01000, еще, 0.01000, Received*192.168.100.135, 0.01000, что, 0.01000, User-Agent*U, 0.01000, Евгений, 0.01000, Received*unknown+192.168.100.135, 0.01000, Received*Aug, 0.01000, Content-Type*plain, 0.01000, Eugene+Prokopiev, 0.01000, References*stc.donpac.ru, 0.01000, Received*unknown, 0.01000, Content-Type*plain+charset, 0.01000, From*Prokopiev, 0.01000 Content-Transfer-Encoding: quoted-printable Subject: Re: [Comm] shell logical expressions X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2007 06:25:25 -0000 Archived-At: List-Archive: List-Post: Denis Kirienko =D0=C9=DB=C5=D4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