Files
sharkdp-bat/tests/mocked-pagers/less.sh
T
dualfroz daa163bc7d Pass -+J to less to turn off the status column
With -J in $LESS, less draws a status column two characters wide on
the left, so lines that bat already wrapped to the terminal width wrap
a second time and the rest of them ends up over the line numbers.

Reset the option with -+J next to the other default less arguments and
skip it for BusyBox less like -K, since it does not support it either.
+J does not work here, less runs it as the J command on startup.

Closes #2497
2026-10-18 13:22:24 +02:00

3 lines
30 B
Bash

#!/usr/bin/env bash
echo "$@"