Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to remove '$' character in a file using vim?

Hi, guys.

I've seen some characters in my file. Like this,

ILMN_3168899^I4.943655551$
ILMN_3168900^I4.910121287$
ILMN_3168901^I4.286702988$

I don't need the character '$' in my file. I neither understood what is that character nor how to remove it.

I type the command, file data.txt and I got the result data.txt: Algol 68 source, ASCII text, with CRLF line terminators. But in another file it's different. file data2.txt — output: data2.txt: : ASCII text.

Could you tell me what does it mean and how to remove '$' character from my file?

Have a great day.