bat icon indicating copy to clipboard operation
bat copied to clipboard

be able to "tail" last N lines of a file

Open danielb2 opened this issue 3 years ago • 0 comments

Ref: https://github.com/sharkdp/bat/discussions/2243

it would be cool if we could do Python-style negative-number ranges like this:

bat file.txt -r -10:

which would mean: "10 lines from the end until the end"

danielb2 avatar Jul 25 '22 20:07 danielb2