Changeset c03f8a5 for src


Ignore:
Timestamp:
01/12/15 19:08:07 (9 years ago)
Author:
Tomasz Obrebski <obrebski@…>
Branches:
master
Parents:
854bece
git-author:
Tomasz Obrebski <obrebski@…> (01/12/15 19:08:07)
git-committer:
Tomasz Obrebski <obrebski@…> (01/12/15 19:08:07)
Message:

minor fixes

Location:
src/compdic
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/compdic/Makefile

    rf600a02 rc03f8a5  
    2323        install -m 0755 compdic-fst-to-bin $(BIN_DIR) 
    2424 
     25        install -m 0755 canonize $(BIN_DIR) 
    2526        install -m 0755 fsm2aut $(BIN_DIR) 
    2627        install -m 0755 aut2fsa $(BIN_DIR) 
     
    4243        rm $(BIN_DIR)/aut2fsa 
    4344        rm $(BIN_DIR)/lst2fstext 
     45        rm $(BIN_DIR)/canonize 
    4446endif 
    4547 
  • src/compdic/compdic

    r519eaf5 rc03f8a5  
    11#!/bin/bash 
     2 
     3echo `basename $0` $@ 
    24 
    35no_of_parts=0 
     
    3739 
    3840echo number of parts: $no_of_parts 
    39  
    4041 
    4142tempdir=`mktemp -d /tmp/compdic.XXXXXX` 
  • src/compdic/compdic-update

    r555c7f8 rc03f8a5  
    22 
    33. /etc/utt/compdic.conf 
    4  
    54 
    65while [ $# -gt 2 ] 
     
    2827    echo "where" 
    2928    echo "    <dictionary-home-dir> - dictionary home directory" 
    30     echo "    <dictionary-name>     - dictionary name" 
     29    echo "    <dictionary-name>     - dictionary name (without extension)" 
    3130    echo "    <difference>          - diff format file containing paths to be added/removed from dictionary" 
    3231    exit 0 
  • src/compdic/compdic-update-fst

    r555c7f8 rc03f8a5  
    11#! /bin/bash 
     2 
     3set -e 
    24 
    35if [ $# -lt 2 ] 
     
    3436echo updating $dict ... 
    3537 
     38if ! (( `cat $dicminus $dicplus | wc -l` )) 
     39then 
     40        echo "Empty diff." 
     41        exit 1 
     42fi 
     43 
    3644if (( `cat $dicminus | wc -l` )) 
    3745then 
Note: See TracChangeset for help on using the changeset viewer.