I want to learn a new scripting language and now considering witch one.
I have following requirements on it: - one which is ported on more platforms - Linux, Sun Solaris, Windows
Perl, Tcl or Python
- easy to create a simple GUI
Tcl or Python
- easy to parse a text files
Perl, Tcl or Python
- easy to work with directories and files
Perl, Tcl or Python
- easy to work with XML
Perl, Tcl or Python
- even possible to make OS native API calls
Perl has 'syscall' which might do what you want. Tcl is extremely easy to extend with some custom C code. Not sure about Python in this respect. Platform independence and native OS API calls don't go together, as a rule.
- easy to learn !
Tcl.
I know that awk exist, something about Perl and Tcl. Perl and Tcl are ported on both Linux and W2K.
awk doesn't fit your criteria.
Is Java Script M$ only?
No, but that doesn't fit your criteria either.
Do you know some URL where these languages are compared? Also with target OSs?
Try google. The best answer to your stated requirements is Tcl. It's simple to learn, extremely powerful and has a great GUI building toolkit. I'd recommend the Activestate "ActiveTcl" package over the SuSE version, because that comes with the XML libraries, the Tclx OS extension, improved GUI libraries, the OO stuff, etc. It's also supported on the three platforms you name if you need to buy support. http://www.activestate.com/Products/ActiveTcl/ -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003