/usr/share/doc/xmlstarlet/examples/command-help is in xmlstarlet 1.6.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #!/bin/sh
if [ -n "$EXEEXT" ] && [ "$OSTYPE" = MSYS ] ; then
EXEEXT=.exe
fi
for command in ed sel tr val fo el c14n ls esc unesc pyx p2x ; do
./xmlstarlet $command --help | ${SED:-sed} -n \
"s@^\\(Usage: \\).*xml$EXEEXT\\( $command\\).*@\\1xml\\2@p"
done
|