Dear Maintainer,
the completion for rubber (latex build wrapper) provided in
/usr/share/zsh/functions/Completion/Unix/_rubber
tries to set a shell variable "_rubber_version" using the line:
eval $(rubber --version 2>/dev/null | sed 's/^.* \([^ ]*\): */_rubber_\1=/')
In bullseye:
% rubber --version
Rubber version: 1.5.1
In bookworm:
% rubber --version
rubber 1.6.0
So the sed recipie works in bullseye but fails in bookworm. One that
works and is backwards compatible with 1.5.1 is:
_rubber_version=$(rubber --version 2>/dev/null | sed -e 's/^.* //')
However perhaps the original is backwards compatible with earlier versions too.
Regards,
Nick.