bat-extras icon indicating copy to clipboard operation
bat-extras copied to clipboard

"batman" syntax error.

Open nerd190 opened this issue 4 years ago • 2 comments

Hi, thank you for bat! its amazing!! Just found the extras and some errors too.

export MANPAGER='sh -c "col -bx | '"$(printf "%q" "$EXECUTABLE_BAT")"' --language=man --style=grid '$(printf "%q " "${BAT_ARGS[@]}")'"'

-bx: 1: Syntax error: Unterminated quoted string

I found in bat's main repo README under integrations there is a simpler version too:


export MANPAGER="sh -c 'col -bx | bat -l man -p'"

-bx: 1: Syntax error: Unterminated quoted string

Both produce the same error though. Thank you once again for your time and effort! it really is appreciated!

nerd190 avatar Feb 03 '21 09:02 nerd190

What distro are you using, and what variant of coreutils is it running?

I know Busybox doesn't play nicely with many of the integrations we created, but the GNU and BSD ones should work fine.

eth-p avatar Feb 04 '21 23:02 eth-p

Having the same issue on Void Linux (glibc)

kkga avatar May 01 '21 12:05 kkga