Mercurial > vim
view src/which.sh @ 20101:64ea318298b7 v8.2.0606
patch 8.2.0606: several syntax HL errors not checked
Commit: https://github.com/vim/vim/commit/fbf2122cf920a89274ffbefaaeb6c5eeacf5187b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 19 18:31:25 2020 +0200
patch 8.2.0606: several syntax HL errors not checked
Problem: Several syntax HL errors not checked.
Solution: Add tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5954)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Apr 2020 18: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