From 7696a01a1b88c3488ec2cd7b903be0a8c317349c Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 21 Aug 2016 23:45:29 +0200 Subject: [PATCH] makefile: only search for licenses and long descriptions between actual list beginning/end --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 345041e0..926a8222 100644 --- a/Makefile +++ b/Makefile @@ -19,11 +19,11 @@ nofullstop: longdescriptions: @echo -e "\nDescriptions exceeding 250 chars:" - @egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}' + @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}' listlicenses: @echo -e "\n List of licenses:" - @egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' README.md | sort --unique + @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' README.md | sort --unique contrib: @git shortlog -sne