Computing.Net > Forums > Unix > Vi editor

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Vi editor

Reply to Message Icon

Name: sundar1982
Date: October 10, 2007 at 00:21:06 Pacific
OS: Unix
CPU/Ram: pentium
Product: dell
Comment:


Hi all,

is there any vi command to view all the special characters in a file. for example
:set list
shows as a dollar sign at the end of line.

Similarly i want to view all the special charcters like space, tab etc.

Please help




Sponsored Link
Ads by Google

Response Number 1
Name: fpmurphy
Date: October 14, 2007 at 06:26:19 Pacific
Reply:

No, there is no way within vi to show all the special or non-printing characters.

With most versions of vi, ":set list" only causes tabs to show up as ^I and newlines to be designated by $.

Use od, cat, etc to show non-printing characters.


0

Response Number 2
Name: japh
Date: October 24, 2007 at 01:34:12 Pacific
Reply:

Define "special". I think space or tab is not special.

This message was produced with 100% recycled electrons


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Vi editor

delete blank line thro vi editor www.computing.net/answers/unix/delete-blank-line-thro-vi-editor/4552.html

Vi Editor help... www.computing.net/answers/unix/vi-editor-help/6709.html

unix vi editor www.computing.net/answers/unix/unix-vi-editor/6785.html