I have a txt file with an #header
. If I use cat
the output is only the first and the last lines despite the file being a few hundred lines long. What is going on?
EDIT
A minimal example is pretty much what you imagine:
file.txt
is
#header 2.0
2.0
2.1
2.2
...
...
...
18.2
and the result of cat file.txt
is
[Desktop]$ cat file.txt
#header 2.0
18.2[Desktop]$