From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Yura Kalinichenko To: ALT Linux Community In-Reply-To: <44D86246.6080503@altlinux.ru> References: <44D86246.6080503@altlinux.ru> Content-Type: text/plain; charset=koi8-u Organization: iceB Software Group Date: Tue, 08 Aug 2006 14:59:44 +0300 Message-Id: <1155038384.3035.2.camel@yuk.home.int> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 (2.0.1-alt0.5) Content-Transfer-Encoding: 8bit X-Spam-Status: No Subject: Re: [Comm] sed X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.7 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: Tue, 08 Aug 2006 13:00:43 -0000 Archived-At: List-Archive: List-Post: В Вто, 08/08/2006 в 14:07 +0400, Anton Gorlov пишет: > Есть несколько строк на баше: > > ver=1.2.3 > newver=`echo ${ver} | sed 's/\.//g'` > sed "s/RADIUS_VERSION\t105/RADIUS_VERSION\t${newver}/g" -i conf.h > > Вопрос - как бы обойтись здесь без дополнительной переменной $newver? А что, не хватает для нее памяти ? :) -- Yura Kalinichenko