Revision 9112
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
139 | 139 |
|
140 | 140 |
|
141 | 141 |
# usage: (stdout2stderr; cmd...) || return |
142 |
# `|| return` needed on Mac because of bug where -e doesn't apply to() |
|
142 |
# `|| return` needed on Mac because of bug where -e doesn't apply to ()
|
|
143 | 143 |
stdout2stderr() { exec >&2; } |
144 | 144 |
|
145 | 145 |
usage() { echo "Usage: $1" >&2; return 2; } |
Also available in: Unified diff
lib/sh/util.sh: stdout2stderr(): fixed doc comment after space-before-() search-and-replace