pdksh kai Solaris 2.8 ksh

I.Ioannou roryt at roryt.gr
Thu May 3 05:47:01 EEST 2001


On 01-May-01 George Chlapoutakis wrote:
> Sthn periptwsh pou einai genikotera simvata ta 2
> shells, yparxei kati pou prepei na proseksw oson afora
> commands, variables klp se ena programma an to ftiaksw
> se pdksh kai prospa8isw na to treksw se ksh tou
> Solaris?

An o ksh tou Solaris einai o AT&T ksh tote yparxoun psilodiafores
kyriws stin sintaksi (px sta typeset). Kata 97% einai symbatoi
alla to 3% mporei na einai problima. PX to klasiko problima einai oti
o pdksh exei ena bug : 
while <kati>
do
  alakse kapoies variables
done
oi metablites einai se subshell, etsi eksw apo to done diatiroun tin
timi pou eixan sto while (pragma pou den isxyei sto AT&T - kai mporei na
katastrepsei oloklira programmata)
Akomi ston pdksh prepei na prosexeis arketa me tin mnimi, den tin
poly kalo-diaxeirizetai.
Sto site tou pdksh kai sta docs tou tha breis mia makria lista 
me tis diafores/bugs/allages tou pdksh.

I.Ioannou <roryt at roryt.gr>



More information about the Linux-greek-users mailing list