MacOS 11.6.1
Tried to run it, complained about needing gawk-cmd
Ran brew install gawk
Then ran kanban, got following error:
conditional binary operator expected
kanban: line 222: syntax error near "maximum_todo[$status]"' kanban: line 222: [[ -v "maximum_todo[$status]" ]] && maxlines=${maximum_todo[$status]}'
Code there looks like:
maxlines=0
[[ -v "maximum_todo[$status]" ]] && [[ maxlines=${maximum_todo[$status]} ]]
[[ ${maximum_todo[$status]} > -1 ]] && [[ $nlines > ${maximum_todo[$status]} ]] && label$
echo -e ".$(strtoline "$label" "~")~~.\n| $label |_______\n|" > $TMP.col.$i
# same error
$ ./kanban list
gawk-cmd not installed..aborting (maybe install coreutils util-linux pkgs?)
@fritx , I've ran:
brew install coreutils util-linux gawk and then got the same error as @mikkeo
@tudormunteanu @mikkeo I got it to work! try brew install bash
ζ brew install coreutils util-linux gawk
ζ ./kanban list
./kanban: line 222: conditional binary operator expected
./kanban: line 222: syntax error near `"maximum_todo[$status]"'
./kanban: line 222: ` [[ -v "maximum_todo[$status]" ]] && maxlines=${maximum_todo[$status]}'
ζ brew info bash
==> bash: stable 5.1.16 (bottled), HEAD
ζ . ~/.bashrc
ζ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.
ζ brew install bash
ζ ./kanban list
id status tag description history
- - - - -
refs: https://github.com/sclorg/s2i-python-container/issues/104, https://github.com/matrix-org/complement/commit/b89638216a2a21b922667ad6977f21e4a04ce663, https://github.com/matrix-org/complement/pull/73

I have some commits to make kanban.bash more compatitable with macOS and bash3 also https://github.com/we-fork/kanban.bash/commits/compat
Hi everyone! I'm on a Mac. Thanks to this issue I got to the point where add, csv and individual column commands work fine. However if I do kanban show or kanban list I still get errors.
kanban show
head: illegal line count -- 0
pr: illegal option -- S
usage: pr [+page] [-col] [-adFfmprt] [-e[ch][gap]] [-h header]
[-i[ch][gap]] [-l line] [-n[ch][width]] [-o offset]
[-L locale] [-s[ch]] [-w width] [-] [file ...]
Any idea how to fix this? Thank you!