+ shift(), similar to bash's, with tests.