X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=constants.sh;h=3d4e64839658e51c569c41f4bc86c080581eee7b;hp=66369d3835a6e3d4456c1ca161b863440c2d138d;hb=a1daa415be0ade91520fc8c1207de338a8940ce9;hpb=4aaa2c65a2591f3526e5ac3960c4d38a15be041d diff --git a/constants.sh b/constants.sh index 66369d3..3d4e648 100644 --- a/constants.sh +++ b/constants.sh @@ -1,3 +1,24 @@ #!/bin/zsh +# Copyright 2014 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Confetti. If not, see . + VCF_FIELDS=(PHOTO LOGO FN NICKNAME SOUND GENDER KIND TITLE ROLE ORG MEMBER CATEGORIES ANNIVERSARY BDAY EMAIL TEL IMPP ADR URL LANG NOTE RELATED X-ZACK-JOINDATE X-ZACK-LEAVEDATE) + +uuidgenerator(){ + head -c16 /dev/urandom |sha1sum - |cut -c1-32 +}