libglm/lib/string.bash
2020-02-26 00:39:57 -06:00

9 lines
193 B
Bash
Executable File

#!/bin/bash
# Joins all arguments by the delimiter.
# $1 - delimiter (e.g. ,)
# $2+ - strings to be joined by the delimeter
function string_join_array {
local IFS="$1"; shift; echo "$*";
}