winget install --id sharkdp.bat
About bat
A cat(1) clone with syntax highlighting and Git integration.
What's new in 0.26.1
v0.26.1 Features - Add paging to '-h' and '--help' see PR #3478 (@MuntasirSZN) Bugfixes - Fix hang when using --list-themes with an explicit pager, see #3457 (@abhinavcool42) - Fix negative values of N not being parsed in <N:M> line ranges without = flag value separator, see #3442 (@lmmx) - Fix broken Docker syntax preventing use of custom assets, see #3476 (@keith-hall) - Fix decorations being applied unexpectedly when piping. Now only line numbers explicitly required on the command line should be applied in auto decorations mode for cat compatibility. See #3496 (@keith-hall) - Fix diagnostics attempting to find the version of an executable named builtin when builtin pager is used. See #3498 (@keith-hall) - --help now correctly reads the config file for theme information etc. See #3507 (@keith-hall) Other - Improve README documentation on pager options passed to less, see #3443 (@injust) - Make PowerShell completions compatible with PowerShell v5.1, see #3495 (@keith-hall) - Use more robust approach to escaping in Bash completions, see #3448 (@akinomyoga) Syntaxes - Update quadlet syntax mapping to include *.{build,pod} files #3484 (@cyqsimon) - Fix inconsistencies in Ada syntax, see #3481 (@AldanTanneo) - Add syntax mapping for podman's artifact quadlet files, see #3497 (@xduugu) - Highlight Korn Shell scripts (i.e. with a shebang of ...ksh) using Bash syntax, see #3509 (@keith-hall)
Version history
| Version | Updated | Notes |
|---|---|---|
| 0.26.1 | Unknown | v0.26.1 Features - Add paging to '-h' and '--help' see PR #3478 (@MuntasirSZN) Bugfixes - Fix hang when using --list-themes with an explicit pager, see #3457 (@abhinavcool42) - Fix negative values of N not being parsed i... |
| 0.26.0 | Unknown | v0.26.0 Features - Add build for windows/ARM64 platform. #3190 (@alcroito) - Add paging to --list-themes, see PR #3239 (@einfachIrgendwer0815) - Support negative relative line ranges, e.g. bat -r :-10 / bat -r='-10:', se... |
| 0.25.0 | Unknown | Features - Set terminal title to file names when Paging is not Paging::Never #2807 (@Oliver-Looney) - bat --squeeze-blank/bat -s will now squeeze consecutive empty lines, see #1441 (@eth-p) and #2665 (@einfachIrgendwer08... |
| 0.24.0 | Unknown | Features - Add environment variable BAT_PAGING, see #2629 (@einfachIrgendwer0815) - Add opt-in (--features lessopen) support for LESSOPEN and LESSCLOSE. See #1597, #1739, #2444, #2602, and #2662 (@Anomalocaridid) Bugfixe... |
| 0.23.0 | Unknown | Release notes |