Mercurial > vim
view src/which.sh @ 12449:7a743053dfd6 v8.0.1104
patch 8.0.1104: the qf_jump() function is too long
commit https://github.com/vim/vim/commit/ef6b8de42f439271edcf5cf22b2450f2cf302c2e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 14 13:57:37 2017 +0200
patch 8.0.1104: the qf_jump() function is too long
Problem: The qf_jump() function is too long.
Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 14 Sep 2017 14:00:05 +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