Blame sukija/generoi.sh

Packit 1f3717
#!/bin/bash
Packit 1f3717
Packit 1f3717
# Suomi-malaga, suomen kielen muoto-opin kuvaus.
Packit 1f3717
#
Packit 1f3717
# Tekijänoikeus © 2006-2007 Hannu Väisänen <Etunimi.Sukunimi@joensuu.fi>
Packit 1f3717
#
Packit 1f3717
# Tämä ohjelma on vapaa; tätä ohjelmaa on sallittu levittää
Packit 1f3717
# edelleen ja muuttaa GNU yleisen lisenssin (GPL lisenssin)
Packit 1f3717
# ehtojen mukaan sellaisina kuin Free Software Foundation
Packit 1f3717
# on ne julkaissut; joko Lisenssin version 2, tai (valinnan
Packit 1f3717
# mukaan) minkä tahansa myöhemmän version mukaisesti.
Packit 1f3717
#
Packit 1f3717
# Tätä ohjelmaa levitetään siinä toivossa, että se olisi
Packit 1f3717
# hyödyllinen, mutta ilman mitään takuuta; ilman edes
Packit 1f3717
# hiljaista takuuta kaupallisesti hyväksyttävästä laadusta tai
Packit 1f3717
# soveltuvuudesta tiettyyn tarkoitukseen. Katso GPL
Packit 1f3717
# lisenssistä lisää yksityiskohtia.
Packit 1f3717
#
Packit 1f3717
# Tämän ohjelman mukana pitäisi tulla kopio GPL
Packit 1f3717
# lisenssistä; jos näin ei ole, kirjoita osoitteeseen Free
Packit 1f3717
# Software Foundation Inc., 51 Franklin Street, Fifth Floor,
Packit 1f3717
# Boston, MA 02110-1301, USA.
Packit 1f3717
#
Packit 1f3717
# Tämän ohjeman linkittäminen staattisesti tai dynaamisesti
Packit 1f3717
# muihin moduuleihin on ohjelmaan perustuvan teoksen
Packit 1f3717
# tekemistä, joka on siis GPL lisenssin ehtojen alainen.
Packit 1f3717
#
Packit 1f3717
#
Packit 1f3717
# This program is free software; you can redistribute it and/or modify
Packit 1f3717
# it under the terms of the GNU General Public License as published by
Packit 1f3717
# the Free Software Foundation; either version 2, or (at your option)
Packit 1f3717
# any later version.
Packit 1f3717
#
Packit 1f3717
# This program is distributed in the hope that it will be useful, but
Packit 1f3717
# WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 1f3717
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 1f3717
# General Public License for more details.
Packit 1f3717
#
Packit 1f3717
# You should have received a copy of the GNU General Public License
Packit 1f3717
# along with this program; see the file COPYING.  If not, write to the
Packit 1f3717
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit 1f3717
# 02110-1301, USA.
Packit 1f3717
#
Packit 1f3717
# Linking this program statically or dynamically with other modules is
Packit 1f3717
# making a combined work based on this program.  Thus, the terms and
Packit 1f3717
# conditions of the GNU General Public License cover the whole
Packit 1f3717
# combination.
Packit 1f3717
Packit 1f3717
Packit 1f3717
# Generoi taivutuskaavoista Malaga-koodia.
Packit 1f3717
Packit 1f3717
cat ../inflection/ALKU.TXT >suomi.all
Packit 1f3717
Packit 1f3717
../inflection/ast.pl ../inflection/nimisanat/*.ast ../inflection/teonsanat/*.ast >>suomi.all
Packit 1f3717
Packit 1f3717
tail --lines=+47 ../inflection/KESKIOSA.TXT >>suomi.all
Packit 1f3717
Packit 1f3717
../inflection/txt.pl ../inflection/nimisanat/*.txt ../inflection/teonsanat/*.txt >>suomi.all
Packit 1f3717
Packit 1f3717
tail --lines=+47 ../inflection/LOPPU.TXT >>suomi.all