Itchyny wrote:

> To fix, add `LC_ALL=C` before sed.
> For example:
> 
>  $ export LC_ALL=ja_JP.UTF-8
>  $ cat runtime/doc/vim-fr.1 | sed 's/.*//' > /dev/null
> sed: RE error: illegal byte sequence
>  $ cat runtime/doc/vim-fr.1 | LC_ALL=C sed 's/.*//' > /dev/null
>  $ # no errors
> Modifying $LC_ALL temporarily fixes the problem.
> 
> Of course, in stead of adding LC_ALL before the `sed's,
> we can add it at more macro level... I mean, before using installman.sh:
>   $ LC_ALL=C /bin/sh ./installman.sh
> or more globally
>   $ LC_ALL=C sudo make install
> suppresses the errors of sed.
> 
> Portability
> I don't know that which shell supports modifying a variable temporarily.
> 
> Reference
> + http://stackoverflow.com/questions/19242275/
> + http://stackoverflow.com/questions/11287564/
> (Sorry for choosing stackoverflow as references, but it actually works.)

Can you check this: All places where sed is used in src/installman.sh,
prepend LC_ALL=C for every sed command (there are three).

-- 
'I generally avoid temptation unless I can't resist it."
                -- Mae West

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui