Revision 12833
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
467 | 467 |
log-() { log+ "-$1" "${@:2}"; } |
468 | 468 |
log++() { log+ 1 "$@"; } |
469 | 469 |
log--() { log- 1 "$@"; } |
470 |
log!() { log- "$log_level" "$@"; } # force-displays next log message
|
|
470 |
log!() { log: 0 "$@"; } # force-displays next log message
|
|
471 | 471 |
# no log:/+/- alias needed because next word is not an alias-expandable cmd |
472 | 472 |
alias log++='"log++" ' # last space alias-expands next word |
473 | 473 |
alias log--='"log--" ' # last space alias-expands next word |
Also available in: Unified diff
lib/sh/util.sh: log!(): use new log:()