Project

General

Profile

« Previous | Next » 

Revision 9419

lib/sh/util.sh: rtrim(): run at higher log_level so that sed command is not normally echoed

View differences:

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