1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-10 20:01:45 +00:00
Files
sharkdp--bat/tests
Matt Van Horn 530e83a455 feat: bat auto-detects language from stdin via first-line patterns
When piped input has no filename hint, bat falls back to plain text. Many
common formats can be reliably identified by shebang or magic-string in the
first line (#!/bin/bash, <?xml, {"json: ...}, etc.). Adds a first-line
pattern matcher to assets.rs.

Fixes #3697
2026-05-16 13:51:00 -07:00
..
2025-08-28 17:30:50 +00:00
2026-03-03 05:18:49 +02:00
2022-06-12 16:38:33 +02:00
2026-03-11 14:36:20 +00:00
2026-01-08 09:42:42 -05:00
2021-06-14 08:36:20 +02:00
2026-01-14 21:13:44 -07:00
2024-01-27 14:44:54 +00:00