Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

set list command in vi

Tags:

vim

vi

logging

I am trying to parse a giant log file using node.js, the file does not seem to get '\n' but when I do set list in vi it shows me '$" at the end of every line, does anyone know what that is. I means can I split a string on that.

like image 666
dhaval2025 Avatar asked Jul 15 '11 07:07

dhaval2025


1 Answers

I would recommend checking out your file via

cat -v -e

which will show you all unprintable characters and line endings.

like image 66
Brian Agnew Avatar answered Nov 15 '22 08:11

Brian Agnew