diff options
| author | Michael Forney <mforney@mforney.org> | 2016-11-19 01:12:09 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-11-19 01:57:26 -0800 |
| commit | df171453b1d23b8dccfb61c16d14935166595dbd (patch) | |
| tree | e6d21a815544423ff8cc5fcff02bb99b39c050ec /lang/python/modules.awk | |
| parent | 4bfd73f8c5ba63018359e5773d6dc4a84397bc51 (diff) | |
Move some programming languages from devel to lang
Diffstat (limited to 'lang/python/modules.awk')
| -rw-r--r-- | lang/python/modules.awk | 7 |
1 files changed, 7 insertions, 0 deletions
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 +} |
