Tuesday, November 1, 2016

Re: What is the blank char in my file?

2016-11-01 16:31 GMT+03:00 <arocker@vex.net>:
>
>> I find a blank char in my file but I can't match it by \s+, I want to
>> delete it, what should I do?
>>
> cat -v should show you what it is.

`cat -v` will show something like `M-bM-^@M-^@` (this is for U+2000)
in place of *all* unicode characters. This is not something readable,
even `hexdump` would be better for this job. Note that file is full of
unicode characters which are not leading whitespaces OP was asking
for.

>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: