From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <44D88D28.3080802@altlinux.ru> Date: Tue, 08 Aug 2006 17:10:00 +0400 From: Anton Gorlov User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: ALT Linux Community References: <44D86246.6080503@altlinux.ru> <1155038384.3035.2.camel@yuk.home.int> In-Reply-To: <1155038384.3035.2.camel@yuk.home.int> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit 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:10:07 -0000 Archived-At: List-Archive: List-Post: Yura Kalinichenko пишет: >> ver=1.2.3 >> newver=`echo ${ver} | sed 's/\.//g'` >> sed "s/RADIUS_VERSION\t105/RADIUS_VERSION\t${newver}/g" -i conf.h >> Вопрос - как бы обойтись здесь без дополнительной переменной $newver? > А что, не хватает для нее памяти ? :) Нет. Просто не хочется в спек вводить лишние сущности... -- np: Crematory - Believe - The Fallen