projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b8f1fa4
)
whitespace-proof grent.t
Gurusamy Sarathy [Sat, 17 Oct 1998 02:33:02 +0000 (
02:33
+0000)]
p4raw-id: //depot/perl@1994
t/op/grent.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/grent.t
b/t/op/grent.t
index
70b4ce0
..
48698e8
100755
(executable)
--- a/
t/op/grent.t
+++ b/
t/op/grent.t
@@
-30,6
+30,8
@@
while (<GR>) {
if (@s == 4) {
my ($name_s,$passwd_s,$gid_s,$members_s) = @s;
$members_s =~ s/\s*,\s*/,/g;
+ $members_s =~ s/\s+$//;
+ $members_s =~ s/^\s+//;
@n = getgrgid($gid_s);
# 'nogroup' et al.
next unless @n;