[bash_functions] fix trailing whitespaces