From fa596d42e2ecc173afb318d2cd2b6662241f5a98 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 22 Nov 2017 11:18:26 +0100 Subject: bin/build-master-status: fix layout of TODO-list --- bin/build-master-status | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/build-master-status b/bin/build-master-status index 4c44d33..670985c 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -473,17 +473,15 @@ if ${web}; then /^[^:]+:[0-9]+:\s*#\s*TODO:/{print ++i} ' | \ sed -n ' - s/^\([^:]\+:[0-9]\+:\)\s*#\s*TODO:\s*/\1/ + s/^\([^:]\+\):\([0-9]\+\):\s*#\s*TODO:\s*/\1\n\2\n/ T N - s/^\([^:]\+:[0-9]\+:\)\(.*\)\n\([0-9]\+\)$/\1\3:\2/ + s/\n\(.*\)\n\([0-9]\+\)$/\n\2\n\1/ :a N - s/\([^:]\+:\)\([0-9]\+:[^\n]*\S\)\s*\n\1[0-9]\+:\s*#/\1\2\n/ + s/\n[^:\n]\+:[0-9]\+:[ \t]*#[ \t]*\(\S[^\n]*\)$/\n\1/ ta - s/\n\n\+/\n/g - s/\n[^\n]*$/\n/ - s/^\([^:\n]\+\):\([0-9]\+\):\([0-9]\+\):/\1\n\2\n\3\n/ + s/\n[^:\n]\+:[0-9]\+:[^\n]*$/\n/ p ' | \ sed ' -- cgit v1.2.3-70-g09d2