White Papers | Articles | Featured Guests | Presentations | References

CyberSoft CVDL

CVDL Tutorial

20. VDL Version Reporting

Versions for VDL files and rules can now be reported using an extension to the file type restriction syntax.

If you use a string starting with version= in a file type restriction directive, whatever follows the = character in that string will be printed as an informative message about the version of the VDL file or rule.

Here is an example which specifies a version for the VDL file and a version for VDL rule `b':

  % cat v.vdl

  <"text","version=1.2.3">

  :a, "abc"#

  :b, <"version=9.9"> "bbb"#

  % vfind --vdl=v.vdl hi
  ...
  ##==>> Loading VDL code from: v.vdl
  ##==>> All SmartScan file types disabled.
  ##==>> SmartScan file type `*text*' enabled.
  ##==>> VDL file `v.vdl' Version: 1.2.3
  ##==> VDL model for `a' loaded.
  ##==> VDL `b' Version: 9.9
  ##==> VDL model for `b' loaded.
  ##==> Checking file: "hi"
  ...

Listen to the audio

Contents | Previous | Next