Make id' and
groups' somewhat faster and less cpu-intensive :-)
Really!
This commit is contained in:
parent
210df5b10c
commit
f665d68d04
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
|
exec id -Gn $*
|
||||||
#
|
#
|
||||||
# Copyright (c) 1991, 1993
|
# Copyright (c) 1991, 1993
|
||||||
# The Regents of the University of California. All rights reserved.
|
# The Regents of the University of California. All rights reserved.
|
||||||
@ -34,4 +35,3 @@
|
|||||||
# @(#)groups.sh 8.1 (Berkeley) 6/6/93
|
# @(#)groups.sh 8.1 (Berkeley) 6/6/93
|
||||||
#
|
#
|
||||||
|
|
||||||
id -Gn $*
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
|
exec id -un
|
||||||
#
|
#
|
||||||
# Copyright (c) 1991, 1993
|
# Copyright (c) 1991, 1993
|
||||||
# The Regents of the University of California. All rights reserved.
|
# The Regents of the University of California. All rights reserved.
|
||||||
@ -34,4 +35,3 @@
|
|||||||
# @(#)whoami.sh 8.1 (Berkeley) 6/6/93
|
# @(#)whoami.sh 8.1 (Berkeley) 6/6/93
|
||||||
#
|
#
|
||||||
|
|
||||||
id -un
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user