Thanks I was being a bit dense, didn't realize that the format you gave causes the commands to run in the parent shell.
It works as it should! -Pete On Fri, Apr 21, 2017 at 10:52 AM, Chet Ramey <chet.ra...@case.edu> wrote: > On 4/21/17 1:36 PM, Chet Ramey wrote: > > > I think the key takeaway is that this is trivial to do with a shell > > function, even if you want to add argument parsing (use getopts) and > > pass all the option arguments except -v to the builtins. > > On second thought, don't use getopts. > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~ > chet/ >