Revision 9425
Added by Aaron Marcuse-Kubitza almost 12 years ago
lib/sh/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
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