diff options
author | Einhard Leichtfuß | 2018-12-28 04:58:29 +0100 |
---|---|---|
committer | Einhard Leichtfuß | 2018-12-28 05:07:42 +0100 |
commit | 1822cd8e28e087c93dd2868a3f786f85c4cc4af9 (patch) | |
tree | 06011d3004038702c561036060ceab00a2b41fc6 /extract_license.sed | |
parent | 522e62d218262f64d4756630b009ceccd31d63a7 (diff) | |
download | aur-1822cd8e28e087c93dd2868a3f786f85c4cc4af9.tar.gz |
Extract license from the Dictionary
Instead of downloading it separately.
Diffstat (limited to 'extract_license.sed')
-rwxr-xr-x | extract_license.sed | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extract_license.sed b/extract_license.sed new file mode 100755 index 000000000000..0fa0c844c505 --- /dev/null +++ b/extract_license.sed @@ -0,0 +1,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 +} |