Skip to content
Browse files

Show version number through `ksh --version`

Version number is stored in `SH_RELEASE` macro. Add it to the output of
`ksh --version`. This was a regression introduced by 44fb5d5.
  • Loading branch information...
siteshwar committed Oct 9, 2019
1 parent a5ecd1c commit ad9d63d58e106b9af838e3fbb646c03807841307
Showing with 3 additions and 1 deletion.
  1. +2 −0 scripts/
  2. +1 −1 src/cmd/ksh93/docs/ksh_mini.1
@@ -3,6 +3,8 @@
# the raw markup text.
exec > "$out_file"
# `ksh_mini.1` uses `SH_VERSION` macro to generate version number string
echo '#include "version.h"'
for in_file in "$MESON_SOURCE_ROOT/src/cmd/ksh93/docs/"*.1
cmd_name=$(basename "$in_file" .1)
@@ -1,5 +1,5 @@
@(#)$Id: sh (AT&T Research) $
@(#)$Id: sh (AT&T Research) " SH_RELEASE " $
[+NAME?\b\f?\f\b - Shell, the standard command language interpreter]
[+DESCRIPTION?\b\f?\f\b is a command language interpreter that executes commands read from a command line string, the standard input, or a specified file.]

0 comments on commit ad9d63d

Please sign in to comment.
You can’t perform that action at this time.