.ifo, .tab, .descr file no longer used.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 21 Dec 2011 23:04:25 +0200
changeset 64 1174ea277aef
parent 63 f1bd82604661
child 65 2137ea6bb456
.ifo, .tab, .descr file no longer used.
README.rst
update-ifo.sh
--- a/README.rst	Sun Dec 18 23:28:39 2011 +0200
+++ b/README.rst	Wed Dec 21 23:04:25 2011 +0200
@@ -26,34 +26,8 @@
   $ make uninstall prefix=PREFIX
   $ make prefix=PREFIX uninstall uninstall-local-symlink
 
-What file needed to create dictionary?
-======================================
-
-.tab_ and .descr, which contain text data in UTF-8 encoding.
-install
-
-In .tab_ file lines which begin with '#' used as comment; space after '\n'
-(two chars) removed.
-
-Words before first TAB character in .tab_ file supposed as translated word,
-rest text after TAB is word article.
-
-.tab_ file format.
-------------------
-
-Used such format:
-
-  WORD [TAB] TRANSLATION [LF]
-
-When processing TRANSLATION string in all occurrence of "\n " (literary
-back-slash small-letter-n and space) removed space.
-
-.descr file format.
--------------------
-
-First line added to .ifo file as value of description.
-
-Next lines ignored and used for miscellaneous notes.
+Dictionary source file format.
+==============================
 
 IPA chars.
 ==========
--- a/update-ifo.sh	Sun Dec 18 23:28:39 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-help() {
-  echo "Usage:"
-  echo "  update-ifo.sh <file>.ifo"
-}
-
-if [ x$1 = x ]; then
-  help
-  exit 1
-fi
-
-name=$1
-name=${name%.ifo}
-echo $1
-echo $name
-
-if [ $1 = $name ]; then
-  echo "Error: file must have .ifo extension."
-  exit 1
-fi
-
-if [ ! -e $1 ]; then
-  echo "Error: file $1 not exist."
-fi
-
-date=`date +%Y-%m-%d`
-
-echo "author=Oleksandr Gavenko" >>$1
-echo "email=gavenkoa@gmail.com" >>$1
-echo "website=http://gavenkoa.blogspot.com" >>$1
-echo "date=$date" >>$1
-if [ -e $name.descr ]; then
-  echo "description="`head -n 1 $name.descr` >>$1
-fi
\ No newline at end of file