logging: timestamp helper
This commit is contained in:
parent
42f7cad47c
commit
1f8bc0f275
1 changed files with 1 additions and 0 deletions
|
|
@ -6,3 +6,4 @@ dedcat() { (>&2 cat <<<"$@"); exit 1; }
|
||||||
xcat() { (>&2 cat "$@"); exit 0; }
|
xcat() { (>&2 cat "$@"); exit 0; }
|
||||||
excat() { (>&2 cat <<<"$@"); exit 0; }
|
excat() { (>&2 cat <<<"$@"); exit 0; }
|
||||||
die() { errcho $@; exit 1; }
|
die() { errcho $@; exit 1; }
|
||||||
|
mktimestamp() { date '+%Y-%m-%d_%s'; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue