OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:WORDS
(Results
1 - 10
of
10
) sorted by relevancy
/src/usr.bin/make/unit-tests/
varmod-to-separator.mk
3
# Tests for the :ts variable modifier, which joins the
words
of the variable
6
WORDS
= one two three four five six
8
# The
words
are separated by a single space, just as usual.
9
.if ${
WORDS
:ts } != "one two three four five six"
14
.if ${
WORDS
:ts,} != "one,two,three,four,five,six"
19
.if ${
WORDS
:ts/:tu} != "ONE/TWO/THREE/FOUR/FIVE/SIX"
25
.if ${
WORDS
:ts::tu} != "ONE:TWO:THREE:FOUR:FIVE:SIX"
29
# When there is just a colon but no other character, the
words
are
32
.if ${
WORDS
:ts:tu} != "ONETWOTHREEFOURFIVESIX"
38
# split into
words
. Beware of separating the words using a single or doubl
[
all
...]
varmod-order-reverse.mk
3
# Tests for the :Or variable modifier, which returns the
words
, sorted in
6
WORDS
= one two three four five six seven eight nine ten
8
.if ${
WORDS
:Or} != "two three ten six seven one nine four five eight"
9
. error ${
WORDS
:Or}
varmod-order-string.mk
3
# Tests for the :O variable modifier, which returns the
words
, sorted in
6
# Simple
words
are sorted lexicographically.
7
WORDS
= one two three four five six seven eight nine ten
8
.if ${
WORDS
:O} != "eight five four nine one seven six ten three two"
9
. error ${
WORDS
:O}
12
# Double quotes and single quotes delimit
words
, while backticks are just
21
# To sort the
words
numerically, use ':On' instead; since var.c 1.939 from
comment.mk
59
WORDS
= ${VAR:[#]} [#
60
.if ${
WORDS
} != "1 [#"
varmod-order-shuffle.mk
3
# Tests for the :Ox variable modifier, which returns the
words
of the
15
WORDS
= one two three four five six seven eight nine ten
24
shuffled1:= ${
WORDS
:Ox}
25
shuffled2:= ${
WORDS
:Ox}
31
shuffled1:= ${
WORDS
:O:Ox}
32
shuffled2:= ${
WORDS
:O:Ox}
38
sorted:= ${
WORDS
:Ox:O}
39
.if ${sorted} != ${
WORDS
:O}
40
. error ${sorted} != ${
WORDS
:O}
varmod-order.mk
4
#
words
of the value or shuffle them.
6
WORDS
= one two three four five six seven eight nine ten
9
.if ${
WORDS
:O} != "eight five four nine one seven six ten three two"
10
. error ${
WORDS
:O}
14
_:= ${
WORDS
:OX}
17
_:= ${
WORDS
:OxXX}
20
_:= ${
WORDS
:O
varmod-match.mk
3
# Tests for the ':M' modifier, which keeps only those
words
that match the
38
# '*' matches 0 or more characters. The whole pattern matches all
words
that
88
# Only keep
words
that start with an uppercase letter.
93
# Only keep
words
that start with a character other than an uppercase letter.
142
# Without the 'b' in the below
words
, the backslash would end a word and thus
143
# influence how the string is split into
words
.
144
WORDS
= a\b a[\]b ab a\\b
145
.if ${
WORDS
:Ma[\]b} != "a\\b"
153
WORDS
= [ ] [] \] ]]
154
.if ${
WORDS
:M[[-]]} != "[] \\] ]]
[
all
...]
varmod-match-escape.mk
91
WORDS
= A A] A]] B B] B]] ] ]] ]]] a a] a]]
112
. if ${
WORDS
:M${pattern}} != ${EXP.${pattern}}
113
. warning ${pattern}: ${
WORDS
:M${pattern}} != ${EXP.${pattern}}
varmod-subst.mk
10
WORDS
= sequences of letters
14
.if ${
WORDS
:S,,,} != ${
WORDS
}
19
.if ${
WORDS
:S,e,*,1} != "s*quences of letters"
25
.if ${
WORDS
:S,f,*,1} != "sequences o* letters"
30
.if ${
WORDS
:S,e,*,} != "s*quences of l*tters"
35
.if ${
WORDS
:S,e,*,g} != "s*qu*nc*s of l*tt*rs"
41
.if ${
WORDS
:S,^sequ,occurr,} != "occurrences of letters"
47
.if ${
WORDS
:S,^of,with,} != "sequences with letters"
52
.if ${
WORDS
:S,^office,does not match,} != ${WORDS
[
all
...]
/src/games/boggle/
Makefile
12
WORDS
=${NETBSDSRCDIR}/share/dict/web2
28
dictionary: ${
WORDS
} ${MKDICT}
31
${MKDICT} < ${
WORDS
} > ${.TARGET}
Completed in 14 milliseconds
Indexes created Tue Sep 30 17:09:57 GMT 2025