#!/bin/bash funcb($1woot) function funca() { myarg="omg" funcb "$1 ${myarg} abc lol" } function funcb() { echo "$1" } funca $1