Forward arguments correctly: use "$@" instead of $*
Also added an exec to improve performance (which replaces the current process instead of spawning a subshell), and changed the shebang to #!/usr/bin/env as this is best practice.
Showing
想要评论请 注册 或 登录