mirror of
https://github.com/sharkdp/bat
synced 2024-11-27 22:30:33 +00:00
68d525cd8b
This fixes #1438. Note however, that using a pager such as less will add a newline itself. So to actually not print a newline for such files, you need to either disable paging: bat --style=plain --paging=never no-newline-at-end-of-file.txt or use a "pager" that does not add a newline: bat --style=plain --pager=cat no-newline-at-end-of-file.txt Note that we also update syntax tests file since a bunch of them had missing newlines on the last lines.
8 lines
168 B
Text
Vendored
8 lines
168 B
Text
Vendored
#this is a sample requirements.txt file
|
|
|
|
django==11.2.0
|
|
pywheels>=12.4 #a whitespace followed by comments
|
|
Nuitka<0.6.8.4
|
|
wxPython>=1.0, <=2.1
|
|
|
|
#this is another comment
|