shell tools: Quote the arguments to tr

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-08-13 12:23:18 -03:00
parent 217a45df6f
commit 7f9f84a6d0
6 changed files with 22 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ PTDEBUG="${PTDEBUG:-""}"
EXIT_STATUS=0
log() {
TS=$(date +%F-%T | tr :- _);
TS=$(date +%F-%T | tr ':-' '_');
echo "$TS $*"
}