diff --git a/src/cc/journeyman/real_name/core.clj b/src/cc/journeyman/real_name/core.clj index 531f077..7f1f492 100644 --- a/src/cc/journeyman/real_name/core.clj +++ b/src/cc/journeyman/real_name/core.clj @@ -33,7 +33,7 @@ "Process this `gecos` field into a map of its sub-fields. See https://en.wikipedia.org/wiki/Gecos_field" [gecos] - (delimited-record->map gecos #"," [:real-name :address :work-phone :home-phone :other])) + (delimited-record->map (str gecos ",?") #"," [:real-name :address :work-phone :home-phone :other])) (defn process-passwd-line "Process this `line` from a passwd file" @@ -168,4 +168,4 @@ ([] (get-real-name)) ([username] - (get-real-name username))) \ No newline at end of file + (get-real-name username)))