From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <44D86246.6080503@altlinux.ru> Date: Tue, 08 Aug 2006 14:07:02 +0400 From: Anton Gorlov User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: ALT Linux Community Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: [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 10:07:05 -0000 Archived-At: List-Archive: List-Post: Есть несколько строк на баше: 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 - The Holy One