[LUGOS] script
ICE Administrator
sysadmin at ICEtelecom.si
Thu Jul 3 15:12:03 CEST 2003
Eh kako si pa vedel, da gre za update sophosa??
-----Original Message-----
From: Metod Kozelj [mailto:metod.kozelj at lugos.si]
Sent: Thursday, July 03, 2003 3:08 PM
To: lugos-list at lugos.si
Subject: Re: [LUGOS] script
Howdy!
ICE Administrator wrote:
>Kako bi dobil verzijo (3.70) v variablo?
>
>npr.
>#<ime_programa> --version
>product version : 3.70
>
Recimo takole:
VERS=$( <ime_programa> --version | grep -i "product version" | cut -d:
-f2 | sed -e 's/\.//g' -e 's/ //g' )
...
in potem narediš
wget -N http://www.sophos.com/downloads/ide/${VERS}_ides.zip
:)
--
Peace!
Mkx
---- perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
More information about the lugos-list
mailing list