view src/which.sh @ 31000:2a1a4a13b396 v9.0.0835

patch 9.0.0835: the window title is not redrawn when 'endoffile' changes Commit: https://github.com/vim/vim/commit/845bbb72ed2da4b5fb2a503d91cfd6435df2f584 Author: K.Takata <kentkt@csc.jp> Date: Sat Nov 5 18:31:19 2022 +0000 patch 9.0.0835: the window title is not redrawn when 'endoffile' changes Problem: The window title is not redrawn when 'endoffile' changes. Solution: redraw the window title when 'endoffile' is changed. (Ken Takata, closes #11488)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Nov 2022 19:45:03 +0100
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