#!/usr/bin/env bash
#
# ==============================================================================
# @copyright (c) 2023 by XXXX. All rights reserved.
#
# The reproduction, distribution and utilization of this file as
# well as the communication of its contents to others without express
# authorization is prohibited. Offenders will be held liable for the
# payment of damages and can be prosecuted. All rights reserved particularly
# in the event of the grant of a patent, utility model or design.
# ==============================================================================
# options (must-have, not rely on argument-passing)
set -e
# import external scripts
source "$(dirname "$0")"/lib/util.sh arg-1 arg-2
now=$(date +'%Y-%m-%d %H:%M:%S')
echo "$name"
readonly version="1.2.3"
#######################################
# test XXXX
# Globals:
# $name
# Arguments:
# exptect 3 params
# Outputs:
# Writes updated info to stdout
#######################################
function test()
{
local first_arg="${1}"
local second_arg="${2}"
local _3rd_arg="${3}"
local _name="Allen ""$name"
echo "$_name"
echo "1st arg: $first_arg"
echo "2nd arg: $second_arg"
echo "3rd arg: $_3rd_arg"
}
test 1 3 "hello" "sssss"
## rule 9, 10, 11
rm --recursive --force -- "${dir}"
exit 0