summary refs log tree commit diff
path: root/doc/rfc/rfctags.pl
blob: 05173d0093ab55b7e43e93d9dac60ab397dd6e7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env perl
use strict;
use warnings;
use open ':encoding(ISO-8859-1)';

($,, $\) = ("\t", "\n");
while (<>) {
	chomp;
	# Section headings
	if (/^([\d.]+|[A-Z][.])\s+([^\t]+)?/) {
		print $1, $ARGV, $.;
		print $2, $ARGV, $. if $2;
		print $1, $ARGV, $. if $1 =~ /^([\d.]+)[.]$/;
	}
	# References
	if (/^\s*(\[[\w-]+\])\s{2,}/) {
		print $1, $ARGV, $.;
		print "\\$1", $ARGV, $.; # vim ^] prepends \ to [
	}
	close ARGV if eof;
}
rc/commit/bin/up.sh?id=ecd7fe2964a210885ba6beb96ba2e1ef5895c09c&follow=1'>Use scrot for up -s if no screencaptureJune McEnroe 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe