diff options
Diffstat (limited to 'examples/functions/login')
-rw-r--r-- | examples/functions/login | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/functions/login b/examples/functions/login new file mode 100644 index 0000000..3d59683 --- /dev/null +++ b/examples/functions/login @@ -0,0 +1,11 @@ +# replace the `login' and `newgrp' builtins in old bourne shells + +login() +{ + exec login "$@" +} + +newgrp() +{ + exec newgrp "$@" +} |