[SATLUG] searching for a hexvalue with vi

Luis Garza luis at luisgarza.com
Thu Dec 20 22:13:49 CST 2007


Borries Demeler wrote:
>>
>> Great, I am glad you have solved it.
>>
>> I would have suggested searching for non-standard ascii characters.
>> s/[^ -~]//g
>>
>> Search for a space through a tilde and replace it with nothing.
>
> That gets rid of everything.

The sentence was wrong but I believe that the Regular Expression is
correct.  I should search for everything NOT from a space to a tilde and
then replace it with nothing.  I should find NOT a-z or A-Z punctuations
and special characters.  The first character, "^" means NOT.

>
>> Also, the next time you try to save the excel document in CVS format
>> make
>> sure that it is in ascii CVS format.
>
> I actually did that...there was a save as DOS cvs and text cvs - I tried
> both,
> no change. I actually didn't do it since I don't have excel, but the
> person who
> sent me the file said they did save it in 2 or 3 csv export options. Not
> sure if
> there was one there called ascii CVS.
>>
>> Please note the following sites:
>>
>> http://www.asciitable.com/
>> http://vimdoc.sourceforge.net/htmldoc/pattern.html
>> http://larc.ee.nthu.edu.tw/~cthuang/vim/files/vim-regex/vim-regex.htm
>
> Thanks for the pointers!
>
> -b.
>>
>> Luis Garza
>>
>> Borries Demeler wrote:
>> >> I accidentally typed "Ctrl - c" instead of "Ctrl - v". I apologize
>> >> for=20
>> >> adding confusion to your problem.
>> >>
>> >> -Kase
>> >
>> > Bingo!! That did it :-)
>> > Thanks so much for helping me through it - problem solved!
>> >
>> > -b.
>> > --
>> > _______________________________________________
>> > SATLUG mailing list
>> > SATLUG at satlug.org
>> > http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
>> > Powered by Rackspace (www.rackspace.com)
>> >
>>
>>
>> Luis Garza
>> www.luisgarza.com
>> luis at luisgarza.com
>> lrgarza2000 at yahoo.com
>> --
>> _______________________________________________
>> SATLUG mailing list
>> SATLUG at satlug.org
>> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
>> Powered by Rackspace (www.rackspace.com)
>>
>
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
>


Luis Garza
www.luisgarza.com
luis at luisgarza.com
lrgarza2000 at yahoo.com


More information about the SATLUG mailing list