Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7066469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:05:10+00:00 2026-05-28T05:05:10+00:00

I found that the vimdiff utility is just a soft link to vim. both

  • 0

I found that the vimdiff utility is just a soft link to vim. both of the two are located under /usr/bin/ in my Suse11 box. and vimdfiff is a soft link to vim. the interesting thing is that, vimdiff file1 file2 is actually the equivalent of vim -d file1 file2, so in that
sense, the -d option is automatically embedded in the soft link, so my question is as simple as
How?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:05:10+00:00Added an answer on May 28, 2026 at 5:05 am

    Vim in its main() function uses argv[0] to differentiate its executable name vim or vimdiff, or etc.

    Link to vim main.c that performs this check to differentiate rvim, rview, gvim, gview, vimdiff, gvimdiff, ex, exim.

    /*
     * Check for: [r][e][g][vi|vim|view][diff][ex[im]]
     * If the next character is "e" we run in Easy mode.
     * If the next character is "g" we run the GUI version.
     * If the next characters are "view" we start in readonly mode.
     * If the next characters are "diff" or "vimdiff" we start in diff mode.
     * If the next characters are "ex" we start in Ex mode.  If it's followed
     * by "im" use improved Ex mode.
     */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just found that unfinished manual, but it's really unfineshed. Right on the climax. I
I found that Asp.net Mvc controller can serve both Asp.net Mvc View and Silverlight
I found that when multiple tags exist for a given symbol, Vim can't select
I found that: abs -10 abs -10L both work. So I wondered how F#
I found that c.tld file of jstl-1.2.jar is located in META-INF/*.* inside this jar.
I found that Wix v3 uses a tool (heat.exe) to harvest information into WiX
I found that SO put the search input inside a form tag, and i
I found that using Smarty with PHP, sometimes extra time will need to be
I found that I have to perform a swap in python and I write
I found that this C++ code: vector<int> a; a.push_back(1); a.push_back(2); vector<int>::iterator it = a.begin();

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.