logging.bash: Add dedcat and excat helpers
This commit is contained in:
parent
ccf335b69a
commit
b4e2541e50
3 changed files with 5 additions and 4 deletions
|
|
@ -1,3 +1,5 @@
|
|||
errcho() { (>&2 echo $@); }
|
||||
errcat() { (>&2 cat <<<"$@"); }
|
||||
dedcat() { (>&2 cat <<<"$@"); exit 1; }
|
||||
excat() { (>&2 cat <<<"$@"); exit 0; }
|
||||
die() { errcho $@; exit 1; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue