Révision d1fe45c7
Ajouté par Julien Enselme il y a plus de 9 ans
bin/log.sh | ||
---|---|---|
8 | 8 |
current_time=$(date "+%H-%M-%S") |
9 | 9 |
log_file="${d7_dir_log}/${current_day}.log" |
10 | 10 |
|
11 |
echo -e "%%%% ${command} — ${current_time}\n${log}\n%%%% END\n" >> "${log_file}" |
|
11 |
echo -e "#### ${command} — ${current_time}\n${log}\n#### END\n" >> "${log_file}" |
Formats disponibles : Unified diff
Correct log.sh: wrong group pattern.