Make id' and groups' somewhat faster and less cpu-intensive :-)

Really!
This commit is contained in:
Garrett Wollman 1994-10-11 02:13:21 +00:00
parent 210df5b10c
commit f665d68d04
2 changed files with 2 additions and 2 deletions

View File

@ -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 $*

View File

@ -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