Revision 9419
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
165 | 165 |
fi # load new aliases |
166 | 166 |
if self_being_included; then |
167 | 167 |
|
168 |
rtrim() { sed 's/[[:space:]]+$//' <<<"$1"; } |
|
168 |
rtrim() { log++; sed 's/[[:space:]]+$//' <<<"$1"; }
|
|
169 | 169 |
|
170 | 170 |
|
171 | 171 |
#### arrays |
Also available in: Unified diff
lib/sh/util.sh: rtrim(): run at higher log_level so that sed command is not normally echoed