File: classifytest.crm

package info (click to toggle)
crm114 20080330-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,788 kB
  • ctags: 1,244
  • sloc: ansic: 29,897; sh: 1,047; makefile: 407; lisp: 208
file content (12 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/crm
{
	match (:data:) /.*/
	isolate (:stats:)
	output /classifying between files :*:_arg2: and :*:_arg3: :*:_nl:/
	{
	     classify [:data:] (:*:_arg2: | :*:_arg3:) (:stats:) /[[:graph:]]+/
	     output / file :*:_arg2: matches better :*:_nl: :*:_nl: :*:stats::*:_nl:/
	     exit
	}
	output / file :*:_arg3: matches better :*:_nl::*:_nl::*:stats::*:_nl:/
}