Project

General

Profile

« Previous | Next » 

Revision 9376

lib/sh/util.sh: removed no longer used log-. use log+ with a negative argument instead.

View differences:

lib/sh/util.sh
239 239
		else echo "${PS4: -$1}"; fi)" \
240 240
	verbosity=$((verbosity - $1)) "${@:2}"
241 241
}
242
log-() { log+ $((-($1))); }
243 242
log++() { log+  1 "$@"; }
244 243
log--() { log+ -1 "$@"; }
245 244
alias log_local='declare PS4="$PS4" verbosity="$verbosity"'
246 245
alias log+='log_local; "log+" ' # last space alias-expands next word
247
alias log-='log_local; "log-" ' # last space alias-expands next word
248 246
alias log++='log_local; "log++" ' # last space alias-expands next word
249 247
alias log--='log_local; "log--" ' # last space alias-expands next word
250 248

  

Also available in: Unified diff