diff options
author | Leonard König | 2021-03-31 20:01:06 +0200 |
---|---|---|
committer | Leonard König | 2021-03-31 20:01:06 +0200 |
commit | 864e5c57be5daeaa895e6aaa9fdf04351f09a770 (patch) | |
tree | 5bea3baa84adae601bad56a7301b436bbb709f7c /license.awk | |
download | aur-864e5c57be5daeaa895e6aaa9fdf04351f09a770.tar.gz |
initial commit
Diffstat (limited to 'license.awk')
-rwxr-xr-x | license.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/license.awk b/license.awk new file mode 100755 index 000000000000..459a4797b10d --- /dev/null +++ b/license.awk @@ -0,0 +1,7 @@ +#! /usr/bin/env -S awk -f + +/License Description:.*/ { inlicense = 1; + for (i = 3; i <= NF; i++) $(i-2)=$i + } +/Vendor ID:.*/ { inlicense = 0; } + { if (inlicense) print $0 } |