The command substitution errors are happening in the same line number where the change from cat to tr was made. Could you confirm that the files installed in /usr/sbin/ are using the tr instead of cat?
The command substitution errors are happening in the same line number where the change from cat to tr was made. Could you confirm that the files installed in /usr/sbin/ are using the tr instead of cat?