[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: 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-----
_______________________________________________
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