1
0
mirror of https://github.com/limosek/zaf.git synced 2025-11-01 18:17:37 +01:00

Added docs

This commit is contained in:
Lukas Macura
2017-01-30 14:23:41 +01:00
parent 4489b9cafe
commit 52386a624f
2 changed files with 11 additions and 2 deletions

View File

@@ -320,8 +320,8 @@ zaf_get_item_params() {
zaf_paramstosh() {
local parms
local IFS
parms=$(echo $*|cut -d '[' -f 2 | cut -d ']' -f 1| tr ',' ':')
IFS=:; for i in $parms; do
parms=$(echo $*|cut -d '[' -f 2 | cut -d ']' -f 1| tr ',' '~')
IFS="~"; for i in $parms; do
if [ -n "$i" ]; then
printf "$i "
else