[RULE] Re: i18n (was Abiword 1.0.4 on rulified system does not =?iso-8859-1?q?find dictionary?=)

Michael Fratoni mfratoni at tuxfan.homeip.net
Sat Sep 6 01:22:19 EEST 2003


-----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: www.rule-project.org
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

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



_______________________________________________
Original home page of the RULE project: www.rule-project.org
Original Rule Development Site http://savannah.gnu.org/projects/rule/
Original RULE mailing list: Rule-list at nongnu.org, hosted at http://mail.nongnu.org/mailman/listinfo/rule-list




This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here