From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <41790E4B.9040109@newmail.ru> Date: Fri, 22 Oct 2004 17:42:35 +0400 From: =?KOI8-R?Q?=E1=CE=C1=D4=CF=CC=C9=CA_=EB=C9=D4=C1=CA=CB=C9=CE?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030210 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] OpenOffice print troubles References: <200410210401.34148.dead-mustdie@nm.ru> <200410212354.49876.dead-mustdie@nm.ru> <200410221715.14078.combr@vesna.ru> In-Reply-To: X-Enigmail-Version: 0.70.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed 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: Fri, 22 Oct 2004 13:42:36 -0000 Archived-At: List-Archive: List-Post: Aleksander N. Gorohovski пишет: > Сейчас проверил (у себя на M2.2) действительно есть такая "партия". > Правда чтобы запустить ее надо использовать полный путь: > $ /usr/lib/openoffice/program/spadmin Можно проще :-) #!/bin/bash while read tag; do if echo $tag | grep '^\[Versions\]' ; then while read tag; do echo $tag | grep '^\[.*\]' && break if echo $tag | grep 'OpenOffice[.]org.*=file:///' ; then tag=$( echo $tag | sed 's/[[:cntrl:]]//' | sed 's=^.*file:///=/=' ) [ -x $tag/spadmin ] && $tag/spadmin break fi done break fi done < ~/.sversionrc C уважением, Китайкин Анатолий.