Tristan Le Guern <tlegu...@bouledef.eu> writes: > On 02/16/2015 05:22 PM, Todd C. Miller wrote: >> There are scripts that use KSH_VERSION to determine whether they >> are being run under ksh or a Bourne shell. That seems like a >> reasonable thing to do. I don't really care what the version >> number is set to. Using the OpenBSD version seems reasonable >> and could be generated at build time. > > Same thing for me: I don't care about the content of this variable, just > about its presence. The same for BASH_VERSION or ZSH_VERSION.
Maybe you don't, but our ksh isn't the only ksh around. Removing "PD KSH" from KSH_VERSION would just break scripts that probe the content of this variable. ... -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE