#!/bin/bash
foo1() { echo 'hello from foo1!'; }
foo2() { ls -l; }
foo3() { echo 'hello from foo3!'; }
$1