I just ask dim to display its version under the different shells. In ksh93, the script is modified dynamically before execution, but it is not even the slowest version :-)

mv42:work2/dim> time bash dim -V
dim-0.4.9-mv3 Linux 2.6.25.4 i686 bash 3.1.17(2)-release

real    0m0.06s
user    0m0.06s
sys     0m0.00s

mv42:work2/dim> time ksh dim -V
dim-0.4.9-mv3 Linux 2.6.25.4 i686 ksh93 Version M 1993-12-28 s+

real    0m0.04s
user    0m0.04s
sys     0m0.01s

mv42:work2/dim> time zsh dim -V
dim-0.4.9-mv1.0.17 Linux 2.6.25.4 i686 zsh 4.3.6

real    0m0.04s
user    0m0.03s
sys     0m0.01s

mv42:work2/dim> time ash dim -V
dim-0.4.9-mv3 Linux 2.6.25.4 i686 sh ash/BSD

real    0m0.02s
user    0m0.02s
sys     0m0.00s

Conclusion: ash the fastest to run, bash the slowest, ksh93 and zsh in the middle.

Marc
--
Archive: http://www.mail-archive.com/[email protected]/
To unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to