Revision 8816
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sh | ||
---|---|---|
24 | 24 |
|
25 | 25 |
set_var () { eval "$1"'="$2"'; } |
26 | 26 |
|
27 |
join () { local IFS="$delim"; echo "$*"; } # usage: (delim=...; join elems...) |
|
28 |
|
|
27 | 29 |
reverse () # usage: array=($(reverse args...)) |
28 | 30 |
{ |
29 | 31 |
local i |
Also available in: Unified diff
lib/util.sh: added join ()