diff options
author | wollman <wollman@FreeBSD.org> | 1994-10-11 02:13:21 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-10-11 02:13:21 +0000 |
commit | 9414ff06a1d3ed474879b91a32c4a4dd963ab8ee (patch) | |
tree | 9447491c705115be0c6aa67f12e049e178d8be8d /usr.bin/id | |
parent | 1ff4b94c7dd0c32c5f23559a3aa8b426ce92898f (diff) | |
download | FreeBSD-src-9414ff06a1d3ed474879b91a32c4a4dd963ab8ee.zip FreeBSD-src-9414ff06a1d3ed474879b91a32c4a4dd963ab8ee.tar.gz |
Make `id' and `groups' somewhat faster and less cpu-intensive :-)
Really!
Diffstat (limited to 'usr.bin/id')
-rw-r--r-- | usr.bin/id/groups.sh | 2 | ||||
-rw-r--r-- | usr.bin/id/whoami.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/id/groups.sh b/usr.bin/id/groups.sh index e29ed90..734fcb2 100644 --- a/usr.bin/id/groups.sh +++ b/usr.bin/id/groups.sh @@ -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 $* diff --git a/usr.bin/id/whoami.sh b/usr.bin/id/whoami.sh index 372b7da..a5b9887 100644 --- a/usr.bin/id/whoami.sh +++ b/usr.bin/id/whoami.sh @@ -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 |