Bash script to run chxdoc for each Prime library