From df171453b1d23b8dccfb61c16d14935166595dbd Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 19 Nov 2016 01:12:09 -0800 Subject: Move some programming languages from devel to lang --- lang/python/modules.awk | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lang/python/modules.awk (limited to 'lang/python/modules.awk') diff --git a/lang/python/modules.awk b/lang/python/modules.awk new file mode 100644 index 00000000..5e01a9d1 --- /dev/null +++ b/lang/python/modules.awk @@ -0,0 +1,7 @@ +$0 == "*static*" {static = 1; next} +$0 == "*shared*" {static = 0; next} + +NF && !/^#/ && static { + for (i = 2; i <= NF; ++i) + print $i +} -- cgit v1.2.3