https://openacs.org/api-doc/procs-file-view?version_id=248520&path=packages/acs-lang/tcl/lang-catalog-procs.tcl