Zfs-snapshot.sh is a project mainly written in Shell, it's free.
FreeBSD/FreeNAS bash script to do rotating snapshots
Here's a nice script found on thinking sysadmin. I slightly modified it to use the real mount point instead of assuming "/".