rewrite argument/parameter aggregation to be compatible with shells beyond bash and immediate family