From f754f43e84a275d7a9a0ee3544c485eed747b311 Mon Sep 17 00:00:00 2001 From: Sander Date: Mon, 1 Sep 2025 16:39:43 +0200 Subject: [PATCH] docs: fix command examples its anoying to copy with the `>` in there --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 89835672..a9cc97b6 100644 --- a/README.md +++ b/README.md @@ -76,13 +76,13 @@ Whenever `bat` detects a non-interactive terminal (i.e. when you pipe into anoth Display a single file on the terminal ```bash -> bat README.md +bat README.md ``` Display multiple files at once ```bash -> bat src/*.rs +bat src/*.rs ``` Read from stdin, determine the syntax automatically (note, highlighting will @@ -90,18 +90,18 @@ only work if the syntax can be determined from the first line of the file, usually through a shebang such as `#!/bin/sh`) ```bash -> curl -s https://sh.rustup.rs | bat +curl -s https://sh.rustup.rs | bat ``` Read from stdin, specify the language explicitly ```bash -> yaml2json .travis.yml | json_pp | bat -l json +yaml2json .travis.yml | json_pp | bat -l json ``` Show and highlight non-printable characters: ```bash -> bat -A /etc/hosts +bat -A /etc/hosts ``` Use it as a `cat` replacement: