Great question — answering as the UphillTech team:
You are assuming that xutil.sh is a part of CDE or FreeBSD. I think it is not. But for that script you show to work you are sourcing xutil.sh from $UTILDIR . Have you set that environment variable yourself? Have you looked at the location it is set to? Have you actually read the book? Because I am guessing that you are reading: "Desktop KornShell Graphical Programming in the Common Desktop Environment" By J. Stephen Pendergrast, Jr. Published by Addison-Wesley Publishing Company ISBN 0-201-63375-X This does contain references to a xutil.sh script which has been published with the book. I would be very surprised if the book did not describe how to obtain the source of xutil.sh . Maybe it was...
Full answer by Claus Andersen: https://unix.stackexchange.com/a/788945 (CC BY-SA 4.0).
Need it done for your business? UphillTech.