aur/license.awk
2026-02-21 20:27:34 +01:00

7 lines
256 B
Awk
Executable file

#! /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 }