Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Manpage language has errors in it #1610

Closed
quintrino opened this issue Apr 13, 2021 · 1 comment
Closed

Using Manpage language has errors in it #1610

quintrino opened this issue Apr 13, 2021 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@quintrino
Copy link

Describe the bug you encountered:
^H in Manpage formatting.
...

What did you expect to happen instead?
It shouldn't show the ^H in the output.
...

How did you install bat?
installed via brew

bat version and environment
bat 0.18.0

Software version

bat 0.18.0

Operating system

Darwin 20.3.0

Command-line

bat --language manpage --diagnostic

Environment variables

SHELL=/usr/local/bin/zsh
PAGER=<not set>
BAT_PAGER=<not set>
BAT_CACHE_PATH=<not set>
BAT_CONFIG_PATH=<not set>
BAT_OPTS=<not set>
BAT_STYLE=<not set>
BAT_TABS=<not set>
BAT_THEME=<not set>
XDG_CONFIG_HOME=/Users/nick.wolf/.config
XDG_CACHE_HOME=/Users/nick.wolf/.cache
COLORTERM=truecolor
NO_COLOR=<not set>
MANPAGER='bat --language manpage --diagnostic'

Config file

Could not read contents of '/Users/nick.wolf/.config/bat/config': No such file or directory (os error 2).

Compile time information

  • Profile: release
  • Target triple: x86_64-apple-darwin
  • Family: unix
  • OS: macos
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,sse,sse2,sse3,ssse3
  • Host: x86_64-apple-darwin

Less version

> less --version
less 487 (POSIX regular expressions)
Copyright (C) 1984-2016  Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Homepage: http://www.greenwoodsoftware.com/less

image

@quintrino quintrino added the bug Something isn't working label Apr 13, 2021
@keith-hall
Copy link
Collaborator

Thanks for reporting. This looks like it could be a duplicate of #652.

@sharkdp sharkdp added the duplicate This issue or pull request already exists label May 12, 2021
@sharkdp sharkdp closed this as completed May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants