The following script causes wrong behavior: expected to see ``^^'' in the file, 
but actually first ``^'' is 8 characters far from second ``^'' (see result.txt, 
notice the tab appeared at the start of the file replacing 8 spaces).

Vim version 7.3, gentoo amd64 with blank user configuration.

Attachment: bug.sh
Description: application/shellscript

        Word word word word word word word word word word word word word word
^word wor^d word word word word word word word word word word word word word
word word word word word word word word word word word word word
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 17 2010 03:28:23)
С изменениями, внесёнными Gentoo-7.3
Скомпилирован  z...@zyx-desktop
Огромная версия без графического интерфейса.  Включённые (+) и отключённые (-) 
особенности:
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs 
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path 
+find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv 
+insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent 
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape 
+mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse 
+mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype 
+path_extra +perl +persistent_undo +postscript +printer +profile +python 
-python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent 
-sniff +startuptime +statusline -sun_workshop +syntax +tag_binary 
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo 
+vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset -xim 
+xsmp_interact +xterm_clipboard -xterm_save 
            общесистемный файл vimrc: "/etc/vim/vimrc"
         пользовательский файл vimrc: "$HOME/.vimrc"
          пользовательский файл exrc: "$HOME/.exrc"
          значение $VIM по умолчанию: "/usr/share/vim"
Параметры компиляции: x86_64-pc-linux-gnu-gcc -c -I. -Iproto -DHAVE_CONFIG_H    
 -O2 -march=amdfam10 -pipe -mmmx -msse -msse2 -msse3 -msse4a -m3dnow 
-mfpmath=sse -fomit-frame-pointer -D_FORTIFY_SOURCE=1     
-I/usr/lib64/ruby/1.8/x86_64-linux -DRUBY_VERSION=18 
Сборка: x86_64-pc-linux-gnu-gcc   -L. -Wl,-O1 -rdynamic -Wl,-export-dynamic  
-rdynamic  -Wl,-O1 -L/usr/local/lib -o vim    -lXt -lcurses -lacl -rdynamic  
-L/usr/local/lib64 
/usr/lib64/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a 
-L/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -lperl -lutil -lc 
-L/usr/lib/python2.6/config -lpython2.6 -lutil -Xlinker -export-dynamic   
-Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lrt -lm   

Attachment: signature.asc
Description: This is a digitally signed message part.

Raspunde prin e-mail lui