vcard2pal is a small awk script to convert vcard contacts into a calendar file for the pal calendar program.
vcard2pal is written in awk, which is probably installed on every existing unix system anyway, so there are no dependencies.
As of 2008-06-04, vcard2pal is included in the upstream cvs for pal. Please go there to download the latest version. Since 2008-06-02, vcard2pal is included in the unstable debian package for pal, so if you use debian/sid, you don't even need to do that.
Using vcard2pal is really simple, as it doesn't have any options…
You feed it some vcard formatted contacts either on stdin or give it the filenames of files which it should read and put the output of the script into a file which you then give to pal.
As vcard2pal needs no interactive input, you can also call it from cron or a makefile to always have an uptodate pal file generated from your contacts.
Juho Rutila adapted vcard2pal from vcard conversion to vcal conversion, you can use vcal2pal to convert vcal calendar files to pal calendar files.
vcard2pal is released under the example BSD license given in http://www.debian.org/misc/bsd.license. The full legalese is:
Copyright (c) 2005, 2008 Uli Martens <email@example.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Read: I'm not responsible for any missed birthdays and subsequent family feuds, nor anything else.
vcard2pal was written by Uli Martens.