4 [ "_n", "UINT", " - Number of samples", 4 ],
5 [ "_s", "UINT", " - Sum of samples", 8 ],
6 [ "_ss", "UINT", " - Sum of squared samples", 8 ],
9 my $file = $ARGV[0] or die "Syntax: $0 <file> <start>\n";
10 -f
$file or die "File not found\n";
12 $start =~ /^\d+$/ or die "Invalid start number";
13 open FILE
, "<$file" or die "Can't open file";
15 /^(%?)(\w+),\s*(\w+),\s*(.+)$/ and do {
22 @f = [ "", "UINT", "", 4];
33 print "$nr, IPFIX_FT_WPROBE_$rfield$N, $size, IPFIX_CODING_$ftype, \"$nfield$n\", \"$descr$fdesc\"\n";
This page took 0.049598 seconds and 5 git commands to generate.