Project

General

Profile

« Previous | Next » 

Revision 9425

lib/sh/util.sh: rtrim(): increase the log_level of sed to 4+ instead of 2+ because it is usually run as part of a var assignment, and should therefore have a lower log_level than echo_vars

View differences:

util.sh
167 167
fi # load new aliases
168 168
if self_being_included; then
169 169

  
170
rtrim() { log++; sed 's/[[:space:]]+$//' <<<"$1"; }
170
rtrim() { log+ 3; sed 's/[[:space:]]+$//' <<<"$1"; }
171 171

  
172 172

  
173 173
#### arrays

Also available in: Unified diff