summaryrefslogtreecommitdiff
path: root/examples/functions/login
blob: 3d596838fb56c60a4fba5e59564ccaccbe4ef1dc (plain)
1
2
3
4
5
6
7
8
9
10
11
# replace the `login' and `newgrp' builtins in old bourne shells

login()
{
	exec login "$@"
}

newgrp()
{
	exec newgrp "$@"
}