In linux (debian) vimdiff, an error is reported, and E97 is resolved.

Source: Internet
Author: User
In linux (debian) vimdiff, an error is reported. E97 Solution 1: An error is reported when two files are compared with vim. I used debianstable. vim is vim7.2www from aptitude. 2cto. com2: Trace diffwww.2cto.com [html] root @ host:/usr/share... vim diff in linux (debian) reports error E97 Solution 1: An error was reported when vim was used to compare two files. I used debian stable. vim is vim7.2 www.2cto.com 2 from aptitude. so I tracked diff www.2cto.com [html] root @ host: /usr/share/vim/vim72 # type diff is/usr/bin/diff root @ host: /usr/share/vim/vim72 # type vimdiff is/usr/bin/vimdiff root @ host: /usr/share/vim/vim72 # ll/usr/bin/vimdiff lrwxrwxrwx 1 root 25 []/usr/bin/vimdiff->/etc/alternatives/vimdiff * root @ host: /usr/share/vim/vim72 # ll/etc/alternatives/vimdiff lrwxrwxrwx 1 root 16 []/etc/alternatives/vimdiff->/usr/bin/vim. gtk * root @ host:/usr/share/vim/vim72 #3: execute the following command to create two similar files. there is a small area. [python] # echo '2014 111 222 333 '> 1.txt # echo '2014 111 222 333'> 1.txt # echo '2014 111 222 333 '> 1.txt # cp 1.txt 2.txt # echo' 111 222 333 44455 '> 2.txt # diff 1.txt 2.txt normal diff # vimdiff 1.txt 2.txt error [html]/bin/bash: /usr/share/vim/vim72diff No Such file or directory is simple here [html] # ln-s/usr/bin/diff/usr/share/vim/vim72diff if it is compiled of 7.3. change to vim73diff. the path is at your compiling position 4: diffsuccess (I changed the second line of 1.txt)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.