Some example head like functions for Bash v4.1+