[RULE] i18n (was Abiword 1.0.4 on rulified system does notfind dictionary)

Jason Bechtel jasonbechtel at care2.com
Fri Sep 5 23:44:08 EEST 2003


It's called a "Here Document":

<http://www.tldp.org/LDP/abs/html/here-docs.html>

The Advanced Bash Scripting Guide is my Bible:

<http://www.tldp.org/LDP/abs/html/index.html>

Very handy.

Jason


---- Begin Original Message ----
 From: Ingo Lantschner <ingo.lists at vum.at>
Sent: Fri, 05 Sep 2003 17:17:27 +0200
Subject: [RULE] Re: i18n

Hi all,
could not resist to start with this. I have now
written a very, very simple install_fr.sh, which
switches the Slinky installed sstem to french:

<snip>

What I do not like so much, is that this script
relies on other files, I have to create at the
right place (f.e. i18n). It seems as if there are
other solutions, where the files are created by
the script (and not just copied). I have seen
something in setup.sh

--- snip -----
> # Create /etc/sysconfig/i18n
> i18n=/newroot/etc/sysconfig/i18n
> 
> cat<<EOF >> $i18n
> LANG="en_US"
> SUPPORTED="en_US.UTF-8:en_US:en"
> SYSFONT="latarcyrheb-sun16"
> EOF
---- snap ----

What I do not understand is this cat<<EOF and the
ending EOF. I looked already in my books but
could not find an explanation. May be someone can
give me a short hint, than I can provide scripts
for at least fr and de.

Generally I think it is better to provide extra
scripts outside for switching language and /or
locale. The main advantage I see is that these
scripts can be created and maintaioned by
different people balancing the workload.

Bye, Ingo.

---- End Original Message ----



/earth: file system full
Help the planet each day! It's free and easy:
http://www.Care2.com/dailyaction/


_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule Development Site:   http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list