rule-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RULE] Re: i18n (was Abiword 1.0.4 on rulified system does not find


From: Michael Fratoni
Subject: Re: [RULE] Re: i18n (was Abiword 1.0.4 on rulified system does not find dictionary)
Date: Fri, 5 Sep 2003 18:22:19 -0400
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 05 September 2003 11:17 am, Ingo Lantschner wrote:

> ---------------------------
>
> 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.

The "cat" command above translates (roughly) to 
Read everything below this point until you reach EOF, directing what has 
been read to a target file. So, 

cat<<EOF >> test.txt
This is a test
EOF

Will cause the file test.txt to be created (or appended to)
with the string "This is a test"

Does that help?
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/WQybn/07WoAb/SsRAp7pAJ9mPCN3LfhIK5coR+DhaTqePz6BygCghAjv
BuV69npfJHwquD7RBSCeYzQ=
=vZTQ
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]