summarylogtreecommitdiffstats
path: root/extract_license.sed
blob: 0fa0c844c505065128c95209d176e4dcb0fa3086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env -S sed -nEf

/^GNU Free Documentation License$/ {
	:a
	p
	n

	# Stop on next entry.
	/^\S/ q

	# Continue printing GFDL.
	b a
}