Commit a749fd6bbb36a8bf28026c4074f73f52622cc9ea

Thomas de Grivel 2020-04-14T15:01:38

fix group(5) syntax

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/unix/syntaxes.lisp b/unix/syntaxes.lisp
index 5cc482d..0e438ce 100644
--- a/unix/syntaxes.lisp
+++ b/unix/syntaxes.lisp
@@ -25,7 +25,7 @@
 (define-syntax group<5> (name passwd
 			 (#'parse-integer gid)
 			 ((lambda (m) (cl-ppcre:split "," m)) members))
-  #~|^([^:]*):([^:]*):([^:]*):([^:]*)$|
+  #~|^([^:]*):([^:]*):([^:]*):([^:\s]*)\s*$|
   "Syntax of the group permissions file /etc/group. See group(5).")
 
 (define-syntax passwd<5> (name pass