diff options
| author | Michael Forney <mforney@mforney.org> | 2017-03-26 16:35:02 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-03-26 19:43:34 -0700 |
| commit | 140aa21c99ecd2d84bc42923e510557f672f0424 (patch) | |
| tree | 41a57d4d8663da787eea757af75d9f82a6b87dad /pkg/nginx/sources.awk | |
| parent | 192963f4486dbe416f21ddef0a7535d6640d2db7 (diff) | |
Add nginx 1.10.3
Diffstat (limited to 'pkg/nginx/sources.awk')
| -rw-r--r-- | pkg/nginx/sources.awk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/nginx/sources.awk b/pkg/nginx/sources.awk new file mode 100644 index 00000000..212c1310 --- /dev/null +++ b/pkg/nginx/sources.awk @@ -0,0 +1,13 @@ +/^(#|$)/ { next } +{ + enabled[$0] = 1 +} + +END { + while (getline < sources) { + if (!enabled[$1]) + continue + for (i = 2; i <= NF; ++i) + print $i + } +} |
