- or download this
define {
destination = "/u90/gvc_archive/new";
...
regex = /P\d+_(PRI|SEC|TPP)_.*?\.(\d{4})\.ama/;
dfield = "$2";
}
- or download this
#!/usr/local/bin/perl -w
# test parser prior to plugging into larger script
...
}
} if $check;
}
- or download this
class: macro
type: rtcd_everything
...
var: regex and rval: /^USL.*?$/
var: dfield and rval: NULL