On 2004-08-18, Robert Blayzor wrote:

I'm really interested in just getting Version #'s from within a PERL script.

open(FH, "</usr/share/clamav/daily.cvd"); exit(1) unless defined FH; read(FH, $str, 512); close(FH); ($leadin, $timemp, $version, $numsigs, $func, $hash, $builder) = split(":", $str); print $version; print "\n"; exit(0);

HTH

--
(0>  Jakub Jankowski  [url]: s.atn.pl  "Nawet w Krainie Czarow
//\   [EMAIL PROTECTED]   [rlu]: 174516     latwiej jest spotkac
V_/_  [EMAIL PROTECTED]   [ekg]: 921514     Babe Jage niz Alicje"
Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to