intervals and apply() in  shell()
Merge pull request #77 from yetanotherhacker/shellapply

intervals and apply() in  shell()