Mercurial > vim
view src/which.sh @ 28727:30862b2f7431 v8.2.4888
patch 8.2.4888: line number of lambda ignores line continuation
Commit: https://github.com/vim/vim/commit/521bf32bb4f86676ce3617d25309770f1440ba79
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 6 15:47:07 2022 +0100
patch 8.2.4888: line number of lambda ignores line continuation
Problem: Line number of lambda ignores line continuation.
Solution: Use the line number of where the arguments are. Avoid outputting
"..." twice. (closes #10364)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 May 2022 17:00:02 +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