The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
escaping special characters in file name... lau0001 Shell Programming and Scripting 1 01-19-2008 05:54 PM
Removing special characters in file srivsn Shell Programming and Scripting 6 01-03-2008 03:10 AM
How to delete a file with special characters yveslagace UNIX for Dummies Questions & Answers 5 08-22-2007 08:42 AM
Replace Special characters in a file solai UNIX for Dummies Questions & Answers 1 07-13-2006 07:36 AM
search special characters in a file cramya80 UNIX for Dummies Questions & Answers 2 05-13-2005 09:08 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-19-2005
Registered User
 

Join Date: Mar 2005
Posts: 48
how to see special characters in a file using vi

Hi,
I have a file which has special characters. I can't see them when I "vi" the file. But I am sure there are some special un seen characters. How can I see them?

Please help.

Thx
Reply With Quote
Forum Sponsor
  #2  
Old 10-19-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,699
emacs helps for sure.

I think vim might also show it.
Reply With Quote
  #3  
Old 10-19-2005
Registered User
 

Join Date: Mar 2005
Posts: 48
How can I use vim?

I tried vim filename and it doesn't work.

and same with emacs.?

Please help
Reply With Quote
  #4  
Old 10-19-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,699
Quote:
Originally Posted by jingi1234
I tried vim filename and it doesn't work.
What doesnt work ? Displaying the special symbols or vim itself ?

And for emacs, emacs filename should work.
Reply With Quote
  #5  
Old 10-19-2005
Registered User
 

Join Date: Mar 2005
Posts: 48
When I say:

vim FILENAME
ksh: vim: not found

emacs FILENAME
ksh: emacs: not found

Reply With Quote
  #6  
Old 10-19-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
In vi, use
:set list
and you can do
:set nolist
to get back to normal.
Reply With Quote
  #7  
Old 10-19-2005
Registered User
 

Join Date: Mar 2005
Posts: 48
I see lot of Control I characters which were not visible with out :set list


Thanks Unix Gurus
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0