I need to get script arguments within function with arguments.
./myscript 1 2 3
function_name () {
if [ $1 == 3 ]; then
# I need the $1 in the following echo to be the script argument, not the function argument
echo $1 $2 $3
fi
}
function_name $#