/usr/lib/Wt/examples/style/styleexample is in witty-examples 3.1.10-1ubuntu2.
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 11 12 13 | #!/bin/bash
PATH_TO_SCRIPT=$(cd ${0%/*} && echo $PWD/${0##*/})
EXAMPLEPREFIX=`dirname "$PATH_TO_SCRIPT"`
EXAMPLESUBDIR=style
EXAMPLESUBDIRFROMPREFIX=lib/Wt/examples/style
PREFIX=`echo $EXAMPLEPREFIX | sed s,$EXAMPLESUBDIRFROMPREFIX,,g`
# Required until wthttp accepts a "--approot path" parameter
cd $EXAMPLEPREFIX
PATH=$PREFIX/bin:$PATH LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH DYLD_LIBRARY_PATH=$PREFIX/lib:$DYLD_LIBRARY_PATH $EXAMPLEPREFIX/styleexample.wt --docroot $EXAMPLEPREFIX/ --http-port 8080 --http-addr 0.0.0.0 $@
|