El lun, 26-02-2007 a las 22:41 +0200, Ori Idan escribió: > The plus means a line added. > You should not put the plus sign at the beginning of the line in your > script. It works! I also noted that these lines must not being added but substitute the precedent similar lines. I guess now that patch -p < /path/to/patch was for adding the modifications to the ie6 script from a external file of the kind of Gilboa sent. > > What he did was running diff on his new file versus the original file > and that was the output. > Gilboa, Ori Thanks,
Julian > -- > Ori Idan > > > On 2/26/07, Julian Daich <[EMAIL PROTECTED]> wrote: > El lun, 26-02-2007 a las 11:49 +0200, Gilboa Davara escribió: > > Just set the LANG to he_IL.UTF-8. > > > > Apply this patch to that $HOME/bin/ie6 shell script. [1] > > Hi, > I´m trying to implement your patch modifying my $HOME/bin/ie6 > with my > limited knowledge in programing and scripting. I´m receiving > errors from > every line preceded by the symbol + by running $HOME/bin/ie6 > and I still > see ? symbols instead Hebrew characters. > See also my comments at the bottom. > > =========================== > > --- ie6.old 2007-02-26 11:46:11.000000000 +0200 > > +++ ie6 2007-02-26 11:46:21.000000000 +0200 > > @@ -1,11 +1,11 @@ > > #!/usr/bin/env bash > > # IEs 4 Linux script to run ie6 - > http://tatanka.com.br/ies4linux > > - > > -cd > > +cd ~ > > +ENCODING=he_IL.UTF-8 > > export WINEPREFIX="/home/gilboa/.ies4linux/ie6" > > if [ -f "/home/gilboa/.ies4linux/ie6/.firstrun" ]; then > > rm "/home/gilboa/.ies4linux/ie6/.firstrun" > > - wine "/home/gilboa/.ies4linux/ie6/drive_c/Program > Files/Internet > > Explorer/IEXPLORE.EXE" > "http://www.tatanka.com.br/ies4linux/ok-en.html" > > + LANG=$ENCODING wine > "/home/gilboa/.ies4linux/ie6/drive_c/Program > > Files/Internet Explorer/IEXPLORE.EXE" > > "http://www.tatanka.com.br/ies4linux/ok-en.html" > > else > > - wine "/home/gilboa/.ies4linux/ie6/drive_c/Program > Files/Internet > > Explorer/IEXPLORE.EXE" "$@" > > + LANG=$ENCODING wine > "/home/gilboa/.ies4linux/ie6/drive_c/Program > > Files/Internet Explorer/IEXPLORE.EXE" "$@" > > fi > > =========================== > > > > - Gilboa > > [1] > > $ cd ~/bin > > $ patch -p < /path/to/patch > What means? It is not $HOME/bin/ie6? > > Thanks, > > Julian > > > > > > > ================================================================= > > To unsubscribe, send mail to [EMAIL PROTECTED] > with > > the word "unsubscribe" in the message body, e.g., run the > command > > echo unsubscribe | mail [EMAIL PROTECTED] > > > -- > Julian Daich <[EMAIL PROTECTED]> > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] > with > the word "unsubscribe" in the message body, e.g., run the > command > echo unsubscribe | mail [EMAIL PROTECTED] > > -- Julian Daich <[EMAIL PROTECTED]> ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]