Using printf for logging.
This commit is contained in:
parent
0125bef486
commit
916dddcf07
@ -9,9 +9,9 @@ DateTimeStamp=$(date +\%D_\%T)
|
||||
############
|
||||
|
||||
write_log () {
|
||||
echo " ++ Write to log.
|
||||
$DateTimeStamp - $1
|
||||
+++++++++++++++"
|
||||
#echo " ++ Write to log.
|
||||
# +++++++++++++++"
|
||||
printf '%s - %s' "$DateTimeStamp" "$1"
|
||||
}
|
||||
|
||||
create_list_of_files () {
|
||||
|
Loading…
Reference in New Issue
Block a user