The script is a very simple and rough example of how to use cprid_util. I recommend you to learn basics of Unix shell first.
You can pass multiple shell commands separated by semicolons to the -c argument of bash. For example:
bash -c "echo 1 ; echo 2"
You can even have the commands in a file separated by newlines (like a regular shell script):
$ cat >tmpcmds.txt
echo 1
echo 2
$ bash -c "$(<tmpcmds.txt)"
1
2
The second one-liner from Danny is better suited for this task than the script you are referring to. Certainly first test anything on mostly harmless commands like echo. It is a good practice to first change the real commands to tests by prepending echo to them.