Shell Script for RMAN Backup

Hi Experts,
Can anyone help me to write shell script for taking backup with RMAN in oracle 9i or suggests me any site which has this kind of scripts

Thanks
shaan

www.google.com -> 'rman shell script'