File: aliustest.crm

package info (click to toggle)
crm114 20100106-10
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 3,184 kB
  • sloc: ansic: 34,910; sh: 617; makefile: 578; lisp: 208
file content (23 lines) | stat: -rwxr-xr-x 407 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /usr/bin/crm
#
#	aliustest.crm - test alius statement for foo and bar

# Copyright 2009 William S. Yerazunis.
# This file is under GPLv3, as described in COPYING.
{
	{
		output /checking for a foo.../
		match /foo/
		output /Found a foo :*:_nl:/
	}
	alius
	{
		output /no foo... checking for bar.../
		match /bar/
		output /Found a bar.  :*:_nl:/
	}
	alius
	{
		output /neither foo nor bar :*:_nl:/
	}
}