This script works fine under bash as-is, so we don't need ksh anymore.
Once we tweak the function style, the code even works (for the most part) under a POSIX shell. The localized strings will be prepended with a $, but it is otherwise functional.
b93834e sotruss: drop ksh support and add basic POSIX shell support
ChangeLog | 8 +++
elf/Makefile | 6 +--
elf/sotruss.ksh | 155 -------------------------------------------------------
elf/sotruss.sh | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 163 insertions(+), 158 deletions(-)
Upstream: sourceware.org