This file is indexed.

/usr/share/acheck/rules/fr/ddts.rules is in acheck-rules-fr 0.6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
list
	name	root
	type	loop
	test	1
	list	pseudo-header
	list	description
	list	ddtc
end_list


rule
	name	nop
	type	nop
end_rule


list
	name	pseudo-header
	type	while
	test	^\#
	spell	no
	rule	nop
end_list


list
	name	description
	type	until
	test	^(\+>[a-z+-][+-])?Description-
	spell	no
	rule	nop
end_list


list
	name	ddtc
	type	loop
	test	0

comment
	skip	^>>.*$

comment
	skip	^(\+>[a-z+-][+-])?Description-[a-z][a-z](_[A-Z][A-Z])?:

comment
	skip	^\+>[a-z+-][+-]

#include common

rule
	regex	(\S)  (\S)
	hint	Un seul espace
	type	fix
	fix	$1 $2
	valid						# commentaire
		pre	^>>.*

rule
	name	avant :
	regex	(\S+):
	type	fix
	hint	Espace insécable avant les deux-points, cf. FAQ § 5.1
	fix	$1 :
	valid						# url
			in	(ftp|http|file):$
			post	"^//"
	valid						# Module Perl 1
			name	valid perl module
			in	::$
	valid
			in	 :$
rule
	name	après :
	regex	:(\S)
	type	fix
	hint	Espace normale après les deux-points, cf. FAQ § 5.1
	fix	: $1
	valid						# url
			pre	(ftp|http|file)$
			in	:/
			post	^/
	valid	valid perl module

rule
	name	avant ;
	regex	(\S);
	type	fix
	hint	Espace insécable avant le point-virgule, cf. FAQ § 5.1
	fix	$1 ;
	valid
			in	 ;
rule
	name	après ;
	regex	;(\S)
	type	fix
	hint	Espace normale après le point-virgule, cf. FAQ § 5.1
	fix	; $1

rule
	name	avant !
	regex	(\S)!
	type	fix
	hint	Espace insécable avant le point d'exclamation, cf. FAQ § 5.1
	fix	$1 !
	valid
			in	 !
rule
	name	après !
	regex	!(\S)
	type	fix
	hint	Espace normale après le point d'exclamation, cf. FAQ § 5.1
	fix	! $1
	valid						# !) et !=
		in	!(\)|=)

rule
	name	avant ?
	regex	(\S)\?
	type	fix
	hint	Espace insécable avant le point d'interrogation, cf. FAQ § 5.1
	fix	$1 ?
	valid
			in	 \?
rule
	name	après ?
	regex	\?(\S)
	type	fix
	hint	Espace normale après le point d'interrogation, cf. FAQ § 5.1
	fix	? $1
	valid						# ?)
		in	\?\)

rule
	regex	«(\S)
	type	fix
	hint	Espace insécable après « « », cf. FAQ § 5.1
	fix	« $1
	valid
			in	« 

rule
	regex	(\S)»
	type	fix
	hint	Espace insécable avant « » », cf. FAQ § 5.1
	fix	$1 »
	valid
			in	 »

rule
	regex	n°(\S)
	type	fix
	hint	Espace insécable après « n° »
	fix	n° $1

rule
	regex	\s+$
	type	fix
	hint	Pas de blanc en fin de ligne
	fix	""

rule
	regex	\t
	type	fix
	hint	Pas de tabulation
	fix	"        "

rule
	regex	(«|n°) (\S)
	type	fix
	hint	Espace insécable
	fix	$1 $2

rule
	regex	(\S) (:|;|!|\?|»)
	type	fix
	hint	Espace insécable
	fix	$1 $2

rule
	regex	\s+ 
	type	fix
	hint	Pas d'espace avant un espace insécable
	fix	 

rule
	regex	 \s+
	type	fix
	hint	Pas d'espace après un espace insécable
	fix	 

rule
	regex	^\s+\..
	type	error
	hint	Espace, point, puis autre chose interdit

rule
	regex	^\s\s+\.
	type	fix
	hint	Séparation de paragraphe
	fix	" ."

	rule	nop
end_list