From 761b77333efbab01bf8e3d813254e9b31fbeb05e Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Mon, 17 Dec 2018 13:21:42 +0000 Subject: [PATCH] redo/sh.do: include the 'lksh' variant of mksh. This one attempts to be a much closer match to POSIX, and seems to succeed, giving only warning W118. --- redo/sh.do | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redo/sh.do b/redo/sh.do index 0e90d2f..82c7507 100644 --- a/redo/sh.do +++ b/redo/sh.do @@ -11,7 +11,8 @@ WARN= # powerful ones. We want weaker shells to take precedence, as long as they # pass the tests, because weaker shells are more likely to point out when you # use some non-portable feature. -for sh in dash /usr/xpg4/bin/sh ash posh mksh ksh ksh88 ksh93 pdksh \ +for sh in dash /usr/xpg4/bin/sh ash posh \ + lksh mksh ksh ksh88 ksh93 pdksh \ zsh bash busybox /bin/sh; do printf " %-22s" "$sh..." FOUND=`which $sh 2>/dev/null` || { echo "missing"; continue; }