From e1566bd709f0be7ec2cc8be4760668356f680260 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 21 Aug 2016 23:32:08 +0200 Subject: [PATCH] makefile: add longdescriptions target finds all descriptions longer than 250 characters --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 239455a3..345041e0 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,9 @@ nofullstop: -@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] \(\[' -@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] `' +longdescriptions: + @echo -e "\nDescriptions exceeding 250 chars:" + @egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}' listlicenses: @echo -e "\n List of licenses:"