sure, the url is this:
http://yakty.s31.xrea.com/cgi-bin/misc/dl....0.2.9-1_arm.ipkThis is an example of use, copied from the japanese site and translated automatically from Japanese to English by a web tool, so be open minded about the English you'll see here:
Address book
Backup and restoration Backup From a terminal
$ zdbat address -r > address.cs v
It comes out and the data of an address book In CSV form It is outputted to an address.csv file.
It is like outputting the following. Since it is long, it has skipped.
CARDID, CATEGORY, FULL, TITL, LNME, FNME, MNME, SUFX, FLAS ... It continues.
1 and a warrior -- alley , "", and a warrior -- an alley, , and "", "" -- " -- a warrior -- an alley and" ... it continues
-
-
-
It continues.
Restoration It is "data" about the data of an address book. - It changes into the state where there is no data, by "all data deletion."
At the time of data writing With zdbat CARDID It becomes the meaning of making a new record from 0.
- It outputted by r. address.csv Since CARDID is consecutive numbers, they are all about the number of CARDID. It changes into 0.
Variously, a method is here, although it is. A stream editor called sed is used (it enters as standard). With sed A character sequence is changed by s / object character sequence / conversion character sequence/.
$ sed 's/^[ 0-9]*,/0,/' address.csv > import.csv
It comes out. It is called import.csv. CARDID The file set to 0 is outputted.
Head of the sentence "12" etc. It changes into "0."
^ [0-9] "*" that to which a portion is called regular expression -- it is -- the space of "head of the sentence, continuation of a number, or empty [ (comma) ] -- up to -- " is expressed
[0-9] although it comes out and thinks that it is satisfactory, it thinks, when a space is in front of a comma, and is referred to as [0-9] It says others and it is thought that there is expression.
Especially although it is convenient, it is not necessary to memorize a regular expression. What is necessary will be just to investigate the degree of capital, when needed. Riue my -- regular expression lecture が -- it is written intelligibly
It changed. import.csv is written in an address book.
$ zdbat address -w < import.csv
It backs up above. & restoration was completed.
in addition -- before the writing of -w -- once
$ cp import.csv import.bak
I hope oyu can make sense of this. Mike