Project

General

Profile

« Previous | Next » 

Revision 8816

lib/util.sh: added join ()

View differences:

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