6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I have come across a question from colleague about complex regex, so I written a regex using grep's -P option in PCRE regex. Since its a new learning for me, so thought to share with forums.
Lets say we have a Input_file with following test data:
cat Input_file
PROJECT =... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies
2. What is on Your Mind?
Hi Guys ,
Hope everybody is fine . I am here to learn UNIX . Please provide any URLs/pdfs for learning .
Thanks in advance.
-Radha
---------- Post updated at 07:59 PM ---------- Previous update was at 07:48 PM ----------
Just to add , I am good at basics but unable to write scripts... (4 Replies)
Discussion started by: radha254
4 Replies
3. Web Development
I have tried to create a web page browser window. An example, I copied what the book pretty much wanted but get only the header. What should I change? Also Anyone know any good books for this? Many thanks.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Translation/EN"
... (4 Replies)
Discussion started by: N-Training
4 Replies
4. UNIX for Dummies Questions & Answers
I have this command line entry that I would like to turn into a script. I want to be able to just run the script with options for the report name and switch. Can anyone help me get started? I am hoping that by creating this script it will help me be able to create more.
I have never written one. I... (11 Replies)
Discussion started by: llsmr777
11 Replies
5. What is on Your Mind?
Alright I am looking to further my knowledge and experiance with computers (Currently a PC technician but not much knowledge with other operating systems like unix/linux). What im trying to do now is get a basic understanding of unix and its commands, unix shells, the unix directory structure, and... (5 Replies)
Discussion started by: Rycon
5 Replies
6. UNIX for Dummies Questions & Answers
can i do this? i am learning this on my own..and from the book..simple unix i am not sure if the syntax would work
if
statement
then
statement
do or for or while
statement
done
else
statement
fi....
I dont know how else to explain that...I hope I... (2 Replies)
Discussion started by: jonas27
2 Replies
LEARN ABOUT DEBIAN
ocaml-gettext
OCAML-GETTEXT(5) [FIXME: manual] OCAML-GETTEXT(5)
NAME
ocaml-gettext - common options to manage internationalisation in OCaml program through ocaml-gettext library.
SYNOPSIS
[--gettext-failsafe
[{ignore} | {inform-stderr} | {raise-exception}]]
[--gettext-disable] [--gettext-domain-dir {textdomain} {dir}]
[--gettext-dir {dir}]
[--gettext-language {language}]
[--gettext-codeset {codeset}]
OCAML-GETTEXT OPTIONS
This section describes briefly the common options provided by programs using ocaml-gettext library.
--gettext-failsafe ignore
Defines the behaviour of ocaml-gettext regarding any error that could be encountered during the processing of string translation.
ignore is the default behaviour. The string returned is the original string untranslated. This behaviour is consistent and allows to
have a usable output, even if it is not perfect.
--gettext-failsafe inform-stderr
Same behaviour as ignore, except that a message is printed on stderr,
--gettext-failsafe raise-exception
Stops the program by raising an exception when an error is encountered.
--gettext-disable
Disables any translation made by ocaml-gettext. All translations return the original string untranslated.
--gettext-domain-dir textdomain dir
Defines a dir to search for a specific domain. This could be useful if MO files are stored in a non standard directory.
--gettext-dir dir
Adds a directory to search for MO files.
--gettext-language language
Sets the language to use in ocaml-gettext library. The language should be POSIX compliant. The language should follow the following
convention: lang[_territory][.charset][@modifier]. The lang and territory should be two letters ISO code. Charset should be a valid ISO
character set (at least recognised by the underlying charset recoding routine). For example, valid languages are:
fr_FR.ISO-8859-1@euro, de_DE.UTF-8.
--gettext-codeset codeset
Sets the codeset for output.
Users should be aware that these command line options, apply only for strings after the initialisation of the library. This means that if
the options initially guessed by ocaml-gettext don't match the command line provided, there should be some untranslated string, because
these strings are translated before parsing options. This is particularly true for the usage message itself (--help): even if the strings
are translated, they are translated before setting the correct option.
Some options (--gettext-codeset for example) are overrided internally for particular use. It should be required to always translate strings
to UTF-8 in graphical user interface (because GTK2 requires it).
ocaml-gettext 2008-04-29 OCAML-GETTEXT(5)