correctly handle multiple kanbans with cat,

do not ignore case for filtering (more useful)
This commit is contained in:
YargoB 2020-05-11 21:05:12 +00:00
parent d78ac0ab38
commit bd118a4780
1 changed files with 2 additions and 2 deletions

View File

@ -133,11 +133,11 @@ showall(){
if test "$f" = "*"
then t=`date +%m-%d`
# for "doing", sort filtered cards
grep -i -e $filtr $kbs | getlines "$f" | condsort
cat $kbs | grep -e $filtr | getlines "$f" | condsort
# and also display '- ...(MM-DD)...' calendar entries
cat $kbs | grep "^[*+-] .*($t)" | sed -e 's/^. //'
# for waiting and archive, filter but keep saved card order
else grep -i -e $filtr $kbs | getlines "$f"
else cat $kbs | grep -e $filtr | getlines "$f"
# for all cases, select the cards and show the beginning of the list
fi | showselect "$f " | head -n $ms
}