| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=spksjhv5qts1p8aiissfo8o1g1; path=/
content-type: text/html; charset=UTF-8
date: Sat, 27 Dec 2025 13:49:45 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
textproc
bat
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./textproc/bat, Clone of cat with syntax highlighting
[
Branch: CURRENT, Version: 0.26.1, Package name: bat-0.26.1, Maintainer: fox
A cat(1) clone with syntax highlighting and Git integration.
Required to run:
[devel/libgit2]
Required to build:
[lang/rust]
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
textproc
battime
wip
wm
www
x11
* = Virtual Category
Path to this page:
./textproc/bat, Clone of cat with syntax highlighting
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 0.26.1, Package name: bat-0.26.1, Maintainer: fox
A cat(1) clone with syntax highlighting and Git integration.
Required to run:
[devel/libgit2]
Required to build:
[lang/rust]
Master sites:
Version history: (Expand)
- (2025-12-03) Updated to version: bat-0.26.1
- (2025-10-27) Updated to version: bat-0.26.0
- (2025-01-12) Updated to version: bat-0.25.0
- (2024-05-06) Updated to version: bat-0.24.0nb2
- (2023-10-25) Updated to version: bat-0.24.0nb1
- (2023-10-21) Updated to version: bat-0.24.0
CVS history: (Expand)
| 2025-12-03 10:18:16 by pin | Files touched by this commit (3) | |
Log message:
textproc/bat: update to 0.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)
|
| 2025-10-27 00:08:46 by Thomas Klausner | Files touched by this commit (3) | |
Log message: bat: update to 0.26.0. # 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:'`, \ see #3068 (@ajesipow) - Support context in line ranges, e.g. `bat -r 30::5` / `bat -r 30:40:5`, see \ #3345 (@cavanaug) - Add built-in 'minus' pager, e.g. `bat --pager=builtin` see PR #3402 (@academician) ## Bugfixes - Fix UTF-8 BOM not being stripped for syntax detection, see #3314 (@krikera) - Fix `BAT_THEME_DARK` and `BAT_THEME_LIGHT` being ignored, see issue #3171 and \ PR #3168 (@bash) - Prevent `--list-themes` from outputting default theme info to stdout when it \ is piped, see #3189 (@einfachIrgendwer0815) - Rename some submodules to fix Dependabot submodule updates, see issue #3198 \ and PR #3201 (@victor-gp) - Make highlight tests fail when new syntaxes don't have fixtures PR #3255 \ (@dan-hipschman) - Fix crash for multibyte characters in file path, see issue #3230 and PR #3245 \ (@HSM95) - Add missing mappings for various bash/zsh files, see PR #3262 (@AdamGaskins) - Send all bat errors to stderr by default, see #3336 (@JerryImMouse) - Make --map-syntax target case insensitive to match --language, see #3206 \ (@keith-hall) - Correctly determine the end of the line in UTF16LE/BE input #3369 (@keith-hall) - `--style=changes` no longer prints a two-space indent when the file is \ unmodified, see issue #2710 and PR #3406 (@jyn514) - Add missing shell completions, see #3411 (@keith-hall) - Execute help/version/diagnostic commands even with invalid config/arguments \ present, see #3414 (@keith-hall) - Fixed line numbers (`-n`) and style components not printing when piping \ output, see issue #2935 and PR #3438 (@lmmx) ## Other - Update base16 README links to community driven base16 work #2871 (@JamyGolden) - Work around build failures when building `bat` from vendored sources #3179 \ (@dtolnay) - CICD: Stop building for x86_64-pc-windows-gnu which fails #3261 (Enselic) - CICD: CICD: replace windows-2019 runners with windows-2025 #3339 (@cyqsimon) - Build script: replace string-based codegen with quote-based codegen #3340 \ (@cyqsimon) - Improve code coverage of `--list-languages` parameter #2942 (@sblondon) - Only start offload worker thread when there's more than 1 core #2956 (@cyqsimon) - Update terminal-colorsaurus (the library used for dark/light detection) to \ 1.0, see #3347 (@bash) - Update console dependency to 0.16, see #3351 (@musicinmybrain) - Fixed some typos #3244 (@ssbarnea) - Update onig_sys dependency to 69.9.1 to fix a gcc build failure #3400 \ (@CosmicHorrorDev) - Add a cargo feature (`vendored-libgit2`) to build with vendored libgit2 \ version without depending on the system's one #3426 (@0x61nas) - Update syntect dependency to v5.3.0 to fix a few minor bugs, see #3410 \ (@keith-hall) ## Syntaxes - Add syntax mapping for `paru` configuration files #3182 (@cyqsimon) - Add support for [Idris 2 programming language](https://www.idris-lang.org/) \ #3150 (@buzden) - Add syntax mapping for `nix`'s '`flake.lock` lockfiles #3196 (@odilf) - Improvements to CSV/TSV highlighting, with autodetection of delimiter and \ support for TSV files, see #3186 (@keith- - Improve (Sys)log error highlighting, see #3205 (@keith-hall) - Map `ndjson` extension to JSON syntax, see #3209 (@keith-hall) - Map files with `csproj`, `vbproj`, `props` and `targets` extensions to XML \ syntax, see #3213 (@keith-hall) - Add debsources syntax to highlight `/etc/apt/sources.list` files, see #3215 \ (@keith-hall) - Add syntax definition and test file for GDScript highlighting, see #3236 \ (@chetanjangir0) - Add syntax test file for Odin highlighting, see #3241 (@chetanjangir0) - Update quadlet syntax mapping rules to cover quadlets in subdirectories #3299 \ (@cyqsimon) - Add syntax Typst #3300 (@cskeeters) - Map `.mill` files to Scala syntax for Mill build tool configuration files \ #3311 (@krikera) - Add syntax highlighting for VHDL, see #3337 (@JerryImMouse) - Add syntax mapping for certbot certificate configuration #3338 (@cyqsimon) - Update Lean syntax from Lean 3 to Lean 4 #3322 (@YDX-2147483647) - Map `.flatpakref` and `.flatpakrepo` files to INI syntax #3353 (@Ferenc-) - Update hosts syntax #3368 (@keith-hall) - Map `.kshrc` files to Bash syntax #3364 (@ritoban23) - Map `/var/log/dmesg` files to Syslog syntax #3412 (@keith-hall) - Add syntax definition and test file for Go modules(`go.mod` and `go.sum`) \ highlighting, see #3424 (@DarkMatter-999) - Syntax highlighting for typescript code blocks within Markdown files, see \ #3435 (@MuntasirSZN) ## Themes - Add Catppuccin, see #3317 (@SchweGELBin) - Updated Catppuccin, see #3333 (@SchweGELBin) - Updated gruvbox, see #3372 (@Nicholas42) - Updated GitHub theme, see #3382 (@CosmicHorrorDev) - Updated ANSI theme to highlight JSON object keys differently from values, see \ #3413 (@keith-hall) |
| 2025-01-12 11:12:45 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
bat: update to 0.25.0.
# v0.25.0
## 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 (@einfachIrgendwer0815)
- `bat --squeeze-limit` to set the maximum number of empty consecutive when \
using `--squeeze-blank`, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)
- `PrettyPrinter::squeeze_empty_lines` to support line squeezing for bat as a \
library, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)
- Syntax highlighting for JavaScript files that start with `#!/usr/bin/env bun` \
#2913 (@sharunkumar)
- `bat --strip-ansi={never,always,auto}` to remove ANSI escape sequences from \
bat's input, see #2999 (@eth-p)
- Add or remove individual style components without replacing all styles #2929 \
(@eth-p)
- Automatically choose theme based on the terminal's color scheme, see #2896 (@bash)
- Add option `--binary=as-text` for printing binary content, see issue #2974 and \
PR #2976 (@einfachIrgendwer0815)
- Make shell completions available via `--completion <shell>`, see issue \
#2057 and PR #3126 (@einfachIrgendwer0815)
- Syntax highlighting for puppet code blocks within Markdown files, see #3152 \
(@liliwilson)
## Bugfixes
- Fix long file name wrapping in header, see #2835 (@FilipRazek)
- Fix `NO_COLOR` support, see #2767 (@acuteenvy)
- Fix handling of inputs with OSC ANSI escape sequences, see #2541 and #2544 (@eth-p)
- Fix handling of inputs with combined ANSI color and attribute sequences, see \
#2185 and #2856 (@eth-p)
- Fix panel width when line 10000 wraps, see #2854 (@eth-p)
- Fix compile issue of `time` dependency caused by standard library regression \
#3045 (@cyqsimon)
- Fix override behavior of --plain and --paging, see issue #2731 and PR #3108 \
(@einfachIrgendwer0815)
- Fix bugs in `$LESSOPEN` support, see #2805 (@Anomalocaridid)
## Other
- Upgrade to Rust 2021 edition #2748 (@cyqsimon)
- Refactor and cleanup build script #2756 (@cyqsimon)
- Checks changelog has been written to for PRs in CI #2766 (@cyqsimon)
- Use GitHub API to get correct PR submitter #2791 (@cyqsimon)
- Minor benchmark script improvements #2768 (@cyqsimon)
- Update Arch Linux package URL in README files #2779 (@brunobell)
- Update and improve `zsh` completion, see #2772 (@okapia)
- More extensible syntax mapping mechanism #2755 (@cyqsimon)
- Use proper Architecture for Debian packages built for musl, see #2811 (@Enselic)
- Pull in fix for unsafe-libyaml security advisory, see #2812 (@dtolnay)
- Update git-version dependency to use Syn v2, see #2816 (@dtolnay)
- Update git2 dependency to v0.18.2, see #2852 (@eth-p)
- Improve performance when color output disabled, see #2397 and #2857 (@eth-p)
- Relax syntax mapping rule restrictions to allow brace expansion #2865 (@cyqsimon)
- Apply clippy fixes #2864 (@cyqsimon)
- Faster startup by offloading glob matcher building to a worker thread #2868 \
(@cyqsimon)
- Display which theme is the default one in basic output (no colors), see #2937 \
(@sblondon)
- Display which theme is the default one in colored output, see #2838 (@sblondon)
- Add aarch64-apple-darwin ("Apple Silicon") binary tarballs to \
releases, see #2967 (@someposer)
- Update the Lisp syntax, see #2970 (@ccqpein)
- Use bat's ANSI iterator during tab expansion, see #2998 (@eth-p)
- Support 'statically linked binary' for aarch64 in 'Release' page, see #2992 \
(@tzq0301)
- Update options in shell completions and the man page of `bat`, see #2995 \
(@akinomyoga)
- Update nix dev-dependency to v0.29.0, see #3112 (@decathorpe)
- Bump MSRV to [1.74](https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html), \
see #3154 (@keith-hall)
- Update clircle dependency to remove winapi transitive dependency, see #3113 \
(@niklasmohrin)
## Syntaxes
- `cmd-help`: scope subcommands followed by other terms, and other misc \
improvements, see #2819 (@victor-gp)
- Upgrade JQ syntax, see #2820 (@dependabot[bot])
- Add syntax mapping for quadman quadlets #2866 (@cyqsimon)
- Map containers .conf files to TOML syntax #2867 (@cyqsimon)
- Associate `.xsh` files with `xonsh` syntax that is Python, see #2840 (@anki-code)
- Associate JSON with Comments `.jsonc` with `json` syntax, see #2795 (@mxaddict)
- Associate JSON-LD `.jsonld` files with `json` syntax, see #3037 (@vorburger)
- Associate `.textproto` files with `ProtoBuf` syntax, see #3038 (@vorburger)
- Associate GeoJSON `.geojson` files with `json` syntax, see #3084 (@mvaaltola)
- Associate `.aws/{config,credentials}`, see #2795 (@mxaddict)
- Associate Wireguard config `/etc/wireguard/*.conf`, see #2874 (@cyqsimon)
- Add support for [CFML](https://www.adobe.com/products/coldfusion-family.html), \
see #3031 (@brenton-at-pieces)
- Map `*.mkd` files to `Markdown` syntax, see issue #3060 and PR #3061 \
(@einfachIrgendwer0815)
- Add syntax mapping for CITATION.cff, see #3103 (@Ugzuzg)
- Add syntax mapping for kubernetes config files #3049 (@cyqsimon)
- Adds support for pipe delimiter for CSV #3115 (@pratik-m)
- Add syntax mapping for `/etc/pacman.conf` #2961 (@cyqsimon)
- Associate `uv.lock` with `TOML` syntax, see #3132 (@fepegar)
## Themes
- Patched/improved themes for better Manpage syntax highlighting support, see \
#2994 (@keith-hall).
## `bat` as a library
- Changes to `syntax_mapping::SyntaxMapping` #2755 (@cyqsimon)
- `SyntaxMapping::get_syntax_for` is now correctly public
- [BREAKING] `SyntaxMapping::{empty,builtin}` are removed; use \
`SyntaxMapping::new` instead
- [BREAKING] `SyntaxMapping::mappings` is replaced by \
`SyntaxMapping::{builtin,custom,all}_mappings`
- Make `Controller::run_with_error_handler`'s error handler `FnMut`, see #2831 \
(@rhysd)
- Improve compile time by 20%, see #2815 (@dtolnay)
- Add `theme::theme` for choosing an appropriate theme based on the
terminal's color scheme, see #2896 (@bash)
- [BREAKING] Remove `HighlightingAssets::default_theme`. Use \
`theme::default_theme` instead.
- Add `PrettyPrinter::print_with_writer` for custom output destinations, see \
#3070 (@kojix2)
|
| 2024-05-06 07:44:44 by pin | Files touched by this commit (1) |
Log message: textproc/bat: Switch to libgit2-sys crate |
| 2023-10-25 00:11:51 by Thomas Klausner | Files touched by this commit (2297) |
Log message: *: bump for openssl 3 |
| 2023-10-21 16:48:54 by Santhosh Raju | Files touched by this commit (4) |
Log message:
textproc/bat: Update to 0.24.0
Changes since 0.23.0:
v0.24.0
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)
Bugfixes
* Fix more not being found on Windows when provided via BAT_PAGER, see
#2570, #2580, and #2651 (@mataha)
* Switched default behavior of --map-syntax to be case insensitive #2520
* Updated version of serde_yaml to 0.9. See #2627 (@Raghav-Bell)
* Fix arithmetic overflow in LineRange::from and LineRange::parse_range,
see #2674, #2698 (@skoriop)
* Fix paging not happening when stdout is interactive but stdin is not,
see #2574 (@Nigecat)
* Make -pp override --paging and vice versa when passed as a later argument,
see #2660 (@J-Kappes)
Other
* Output directory for generated assets (completion, manual) can be
customized, see #2515 (@tranzystorek-io)
* Use the is-terminal crate instead of atty, see #2530 (@nickelc)
* Add Winget Releaser workflow, see #2519 (@sitiom)
* Bump MSRV to 1.70, see #2651 (@mataha)
Syntaxes
* Associate os-release with bash syntax, see #2587 (@cyqsimon)
* Associate Containerfile with Dockerfile syntax, see #2606
(@einfachIrgendwer0815)
* Replaced quotes with double quotes so fzf integration example script
works on windows and linux. see #2095 (@johnmatthiggins)
* Associate ksh files with bash syntax, see #2633 (@johnmatthiggins)
* Associate sarif files with JSON syntax, see #2695 (@rhysd)
* Associate ron files with rust syntax, see #2427 (@YeungOnion)
* Add support for WebGPU Shader Language, see #2692 (@rhysd)
* Add .dpkg-new and .dpkg-tmp to ignored suffixe, see #2595 (@scop)
* fix: Add syntax mapping *.jsonl => json, see #2539 (@WinterCore)
* Update Julia syntax, see #2553 (@dependabot)
* add NSIS support, see #2577 (@idleberg)
* Update ssh-config, see #2697 (@mrmeszaros)
bat as a library
* Add optional output_buffer arg to Controller::run() and
Controller::run_with_error_handler(), see #2618 (@Piturnah)
|
| 2023-10-20 09:05:38 by pin | Files touched by this commit (5) |
Log message: textproc/bat: fix build with new libgit2 |
| 2023-05-17 00:55:00 by Thomas Klausner | Files touched by this commit (1) |
Log message: bat: use a bit of cargo's install target |
