These are both good solutions, I was unaware of the builtin keyword or that redirection could come before the command :) Since cd doesn't appear to print anything else to stdout I would probably support leaving things as they are.
Thanks!
These are both good solutions, I was unaware of the builtin keyword or that redirection could come before the command :) Since cd doesn't appear to print anything else to stdout I would probably support leaving things as they are.
Thanks!