#!/bin/sh
#   copyright: Bernd Schumacher <bernd.schumacher@hpe.com> (2007-2020)
#     license: GNU General Public License, version 3

. ./ia

fun()
{
  echo "fun #=$# 1=<$1> 2=<$2> 3=<$3>"
}

split_args()
{
  local i
  local ret
  ret=""
  for i in "$@"; do
    ret="$ret \"$(/bin/echo "$i" | ia_easy_backslash)\""
  done
  /bin/echo "$ret" | sed "s/^ //"
}


eval "$ia_init"
ia_add "fun $(split_args "$@")"
ia
