From: Z H (ssefoen@yahoo.com)
Date: Wed Apr 13 2005 - 17:20:11 EDT
Thanks to Karyn Williams's reply.
Since my goal is to remove all the special character
in the file.
Here is one of the solutions:
:%s/[^ -~]/ /g
I just globally search and replace whatever characters
that is not in the range from space to ~ with space.
And it works.
Thanks,
ssefoen
Here is the original question:
Hello to all helpers:
I have a need to search extended ascii code 227 in a
file using vi.
Could anyone share the tip?
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:32 EDT