Isso deve funcionar:
backup_extensions()
{
count=0
while [ -n "$1" ]
do
let count+=1
mkdir -p backup/ch0${count}
cp /home/owner/*.${1} backup/ch0${count} || return 2
shift
done
}
backup_extensions c h sh