bat/tests/syntax-tests/highlighted/Plaintext/plaintext.txt
Martin Nordholts 68d525cd8b Don't add artificial newline to last line if --style=plain
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.
2020-12-19 10:32:50 +01:00

179 lines
9.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

␀␊
\u{1}␊
\u{2}␊
\u{3}␊
\u{4}␊
\u{5}␊
\u{6}␊
␇␊
␈␊
├──┤␊
␊
␊
\u{b}␊
\u{c}␊
␊
\u{e}␊
\u{f}␊
\u{10}␊
\u{11}␊
\u{12}␊
\u{13}␊
\u{14}␊
\u{15}␊
\u{16}␊
\u{17}␊
\u{18}␊
\u{19}␊
\u{1a}␊
␛␊
\u{1c}␊
\u{1d}␊
\u{1e}␊
\u{1f}␊
·␊
!␊
"␊
#␊
$␊
%␊
&␊
'␊
(␊
)␊
*␊
+␊
,␊
-␊
.␊
/␊
0␊
1␊
2␊
3␊
4␊
5␊
6␊
7␊
8␊
9␊
:␊
;␊
<␊
=␊
>␊
?␊
@␊
A␊
B␊
C␊
D␊
E␊
F␊
G␊
H␊
I␊
J␊
K␊
L␊
M␊
N␊
O␊
P␊
Q␊
R␊
S␊
T␊
U␊
V␊
W␊
X␊
Y␊
Z␊
[␊
\␊
]␊
^␊
_␊
`␊
a␊
b␊
c␊
d␊
e␊
f␊
g␊
h␊
i␊
j␊
k␊
l␊
m␊
n␊
o␊
p␊
q␊
r␊
s␊
t␊
u␊
v␊
w␊
x␊
y␊
z␊
{␊
|␊
}␊
~␊
\u{7f}␊
\u{80}␊
\u{81}␊
\u{82}␊
\u{83}␊
\u{84}␊
\u{85}␊
\u{86}␊
\u{87}␊
\u{88}␊
\u{89}␊
\u{8a}␊
\u{8b}␊
\u{8c}␊
\u{8d}␊
\u{8e}␊
\u{8f}␊
\u{90}␊
\u{91}␊
\u{92}␊
\u{93}␊
\u{94}␊
\u{95}␊
\u{96}␊
\u{97}␊
\u{98}␊
\u{99}␊
\u{9a}␊
\u{9b}␊
\u{9c}␊
\u{9d}␊
\u{9e}␊
\u{9f}␊
\u{a0}␊
\u{a1}␊
\u{a2}␊
\u{a3}␊
\u{a4}␊
\u{a5}␊
\u{a6}␊
\u{a7}␊
\u{a8}␊
\u{a9}␊
\u{aa}␊
\u{ab}␊
\u{ac}␊
\u{ad}␊
\u{ae}␊
␊
Here's·a·line·with·multiple·characters.␊