On Wednesday 25 March 2009 10:40:25 Dotan Cohen wrote:
> > #!/bin/bash
> > LC_ALL=he_IL.UTF-8 ~/cxoffice/bin/winword
> > wine /path/to/word
>
> Of course, that should have been:
>
> #!/bin/bash
> LC_ALL=he_IL.UTF-8
> $HOME/cxoffice/bin/winword

Since LC_ALL is not defined by default:

{{{{{{{{{{
shlomi:~$ printenv | grep LC_ALL
shlomi:~$
}}}}}}}}}}

You need to either use export or put it on the same line as the program you're 
executing. Like:

{{{{{
#!/bin/bash
LC_ALL=he_IL.UTF-8 $HOME/cxoffice/bin/winword
}}}}}

or:

{{{{{
#!/bin/bash
export LC_ALL=he_IL.UTF-8
$HOME/cxoffice/bin/winword
}}}}}

Please include delimiters to your examples (like {{{{...}}}} or <<<...>>>).

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"Humanity" - Parody of Modern Life - http://xrl.us/bkeut

God gave us two eyes and ten fingers so we will type five times as much as we
read.


_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to