Project

General

Profile

« Previous | Next » 

Revision 10821

fix: lib/sh/util.sh: join(): documented that delim must be a single char

View differences:

lib/sh/util.sh
268 268
function split() { echo_func; local IFS="$1"; parts=($2); echo_vars parts; }
269 269
alias split='declare parts; "split"'
270 270

  
271
join() { local IFS="$delim"; echo "$*"; } # usage: delim=... join elems...
271
join() { local IFS="$delim"; echo "$*"; } # usage: delim=char join elems...
272 272

  
273 273
reverse() # usage: array=($(reverse args...))
274 274
{

Also available in: Unified diff