Mercurial > vim
view src/which.sh @ 29239:da56650de132 v8.2.5138
patch 8.2.5138: various small issues
Commit: https://github.com/vim/vim/commit/8088ae95bbed2085c5fb196850c4e4b8df55c989
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 20 11:38:17 2022 +0100
patch 8.2.5138: various small issues
Problem: Various small issues.
Solution: Various small improvments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Jun 2022 12:45:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done