Revision 9256
Added by Aaron Marcuse-Kubitza about 11 years ago
lib/sh/util.sh | ||
---|---|---|
399 | 399 |
echo_func; kw_params dest expr |
400 | 400 |
: "${dest:?}" "${expr:?}" |
401 | 401 |
test ! "$noclobber" || require_fd_not_exists "$dest" || return 0 |
402 |
echo_eval exec "$expr" |
|
402 |
echo_eval exec "$dest$expr"
|
|
403 | 403 |
} |
404 | 404 |
|
405 | 405 |
shadow_fd() { noclobber=1 set_fd; } # usage: dest=fd expr='[<>]src' shadow_fd |
Also available in: Unified diff
lib/sh/util.sh: set_fd()/shadow_fd(): updated usage and kw_params