by BlueTemplar · 4y ago · 0 comments
You will not infrequently find vim and vi links to the same executable.
/usr/bin % ls -l ex vi vim
lrwxr-xr-x 1 root wheel 3 Aug 24 03:59 ex -> vim
lrwxr-xr-x 1 root wheel 3 Aug 24 03:59 vi -> vim
-rwxr-xr-x 1 root wheel 5155568 Aug 24 03:59 vim
The difference between which way you have argv[0] slightly changes the functionality... but it's the same thing.ed remains its own thing.
/bin % ls -l ed
-rwxr-xr-x 1 root wheel 235296 Aug 24 03:59 ed
THE MIGHTY ED HAS SPOKEN!!!?
You can still use the vi style workflow though.