In order to have a dollar sign at the end of each line in VI / VIM editor, set the following parameter while editing:
Code:
:set list
Every line will be terminated by a $:
Example:
VIM(1)>-->-->-->-->-->-->-->-->--VIM(1)$
$
$
$
N^HNA^HAM^HME^HE$
vim - Vi IMproved, a programmers text editor$
$
S^HSY^HYN^HNO^HOP^HPS^HSI^HIS^HS$
v^Hvi^Him^Hm [options] [file ..]$
v^Hvi^Him^Hm [options] -$
v^Hvi^Him^Hm [options] -t tag$
v^Hvi^Him^Hm [options] -q [errorfile]$
$
e^Hex^Hx$
v^Hvi^Hie^Hew^Hw$
g^Hgv^Hvi^Him^Hm g^Hgv^Hvi^Hie^Hew^Hw e^Hev^Hvi^Him^Hm e^Hev^Hvi^Hie^Hew^Hw$
r^Hrv^Hvi^Him^Hm r^Hrv^Hvi^Hie^Hew^Hw r^Hrg^Hgv^Hvi^Him^Hm ...