[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to write a phone number ?
From: |
Reiner Steib |
Subject: |
Re: How to write a phone number ? |
Date: |
Fri, 06 Feb 2004 00:02:27 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
On Thu, Feb 05 2004, Pawel Kot wrote:
> On Tue, 3 Feb 2004, Hadmut Danisch wrote:
[...]
>> Is there a description of the raw format available? I need to
>> generate it from within a script.
>
> It's simple,
> <name>;<number>;<memory_type>;<entry_location>;<caller_group>;<subenty_no>;<subentry_text>;...
> Sunentries are optional. You are not allowed to use ';' inside the fields.
I agree with Hadmut that the format should be documented in the man
page. I also asked this on the list (in
<news:address@hidden>) two weeks ago and
received no answer. How about the attached patch?
A related issue: Why are the entry locations in gnokii and xgnokii
different? It would be nice to use the same file for both programs.
Bye, Reiner.
--- gnokii.1.~1.20.~ Tue Feb 3 16:29:52 2004
+++ gnokii.1 Thu Feb 5 23:55:22 2004
@@ -203,6 +203,25 @@
reads data from stdin and writes to phonebook
When \-i option is used, refuses to overwrite existing entries.
Uses the same format as provided by the output of the getphonebook command.
+.PP
+The format is very simple. Each line represents one entry. Fields are
+separated by semicolons. Semicolons aren't allowed inside a field. The
+fields have to be in this order (the subentries are optional):
+.IP "" .5i
+name
+.IP "" .5i
+number
+.IP "" .5i
+memory_type
+.IP "" .5i
+entry_location
+.IP "" .5i
+caller_group
+.IP "" .5i
+subenty_no
+.IP "" .5i
+subentry_text
+.PP
.SS WAP
.TP
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
- Re: How to write a phone number ?, Hadmut Danisch, 2004/02/02
- Re: How to write a phone number ?, Hadmut Danisch, 2004/02/02
- Re: How to write a phone number ?, Pawel Kot, 2004/02/05
- Re: How to write a phone number ?,
Reiner Steib <=
- Re: How to write a phone number ?, Pawel Kot, 2004/02/15
- Re: How to write a phone number ?, Reiner Steib, 2004/02/16
- Re: How to write a phone number ?, Pawel Kot, 2004/02/16
- Re: How to write a phone number ?, Reiner Steib, 2004/02/17
- Re: How to write a phone number ?, Pawel Kot, 2004/02/17
- Re: How to write a phone number ?, Pawel Kot, 2004/02/17
- Re: How to write a phone number ?, Hadmut Danisch, 2004/02/17
- Re: How to write a phone number ?, Pawel Kot, 2004/02/17
- Re: How to write a phone number ?, Reiner Steib, 2004/02/18
- Re: How to write a phone number ?, Pawel Kot, 2004/02/18