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