Bash получите первый аргумент
function_name () {
echo "Parameter #1 is $1"
}
Brave Badger
function_name () {
echo "Parameter #1 is $1"
}