From 7e04849a4fe8cc8eabe169b89e20d4f1677caa5a Mon Sep 17 00:00:00 2001 From: Ed Blackman Date: Sat, 14 Mar 2009 13:39:27 -0400 Subject: [PATCH] Move filter before priority text changes, so filter doesn't match invisible text --- todo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo.sh b/todo.sh index 1042b5f..b739181 100755 --- a/todo.sh +++ b/todo.sh @@ -408,6 +408,7 @@ _list() { s/^ /0/; ''' \ | sort -f -k2 \ + | eval ${filter_command:-cat} \ | sed ''' /^[0-9]\{'$PADDING'\} x /! { s/\(.*(A).*\)/'$PRI_A'\1 '$DEFAULT'/g; @@ -416,7 +417,6 @@ _list() { s/\(.*([D-Z]).*\)/'$PRI_X'\1 '$DEFAULT'/g; } ''' \ - | eval ${filter_command:-cat} \ | sort -f -k2 \ | sed ''' s/'${HIDE_PRIORITY_SUBSTITUTION:-^}'//g