libglm/lib/string.bash

9 lines
193 B
Bash
Raw Normal View History

2020-02-26 06:39:57 +00:00
#!/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 "$*";
}