put new card into doing stack (not waiting), remove obsolete stuff

This commit is contained in:
wiko.Y90 2021-01-23 15:31:01 +00:00
parent 44c05fefb9
commit 1af7405bc2
1 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# clikan.sh -- CLI Kanban
ver='2020-09-21/HB9KNS'
ver='2021-01-23/HB9KNS'
conf="${CLIKANCONF:-$HOME/.clikanconf}"
defkanban="$HOME/clikanban.md"
@ -246,9 +246,7 @@ n) newc=`echo "$coa1 $coa2 $coa3 $coar" | sed -e 's/ *$//'`
else echo adding card for target $currkan
fi
if test "$newc" != ""
# replace all tabs by spaces (otherwise issue with ed pattern in repline)
# then echo '-' "$newc" | sed -e 's/ / /g' >>$currkan
then echo '-' "$newc" >>$currkan
then echo '*' "$newc" >>$currkan
else echo no content found, nothing added
fi
showall doing