Project

General

Profile

« Previous | Next » 

Revision 10506

lib/sh/util.sh: $sed_cmd: added usage

View differences:

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