]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(doc): non-portable sed regex in Makefile for pi_netrw.txt rule
authorYee Cheng Chin <ychin.git@gmail.com>
Fri, 28 Mar 2025 18:09:13 +0000 (19:09 +0100)
committerChristian Brabandt <cb@256bit.org>
Fri, 28 Mar 2025 18:11:11 +0000 (19:11 +0100)
commitc5aad6cca534fe3c4e0f3105f172d43d0852ea27
treeba2049fb584f221139800c327d408e1797603f23
parent5a307c361cbe9f7ac438a917b905378d87f8f2de
runtime(doc): non-portable sed regex in Makefile for pi_netrw.txt rule

Previously it was using '\0' in sed which is non-portable and does not
work in macOS. Fix this by using the '$' (end-of-line) regex atom (which
needs to be doubled in the Makefile) to append at the end instead. An
alternative would have been to use '&' which is the more portable
version of '\0'.

closes: #16996

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/Makefile