Revision 10506
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
245 | 245 |
echo "$result" |
246 | 246 |
} |
247 | 247 |
|
248 |
# usage: outer_cmd $sed_cmd ... |
|
248 | 249 |
sed_cmd="env LANG= sed -`case "$(uname)" in Darwin) echo El;; *) echo ru;;esac`" |
249 | 250 |
# LANG: avoid invalid UTF-8 "illegal byte sequence" errors when LANG=*.UTF-8 |
250 | 251 |
# -l: line buffered / -u: unbuffered |
Also available in: Unified diff
lib/sh/util.sh: $sed_cmd: added usage