bat Verified for current stable LTS

Bat Command: Highlight Lines

Use for highlight_lines with Bat. Exact CLI syntax to highlight_lines using Bat.

When to use this: Use for highlight_lines with Bat.

Command Syntax

bat -H {10|5:10|:10|10:|10:+5} <path/to/file>

Command Breakdown

-H
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to highlight_lines using Bat.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Bat directory