From: Logan Shaw on
saneman wrote:
> I use Ubuntu 7.10 and often write scripts for various tasks. But I need to
> make these scripts run on the platforms, linux, windows and mac. Is there
> some language where I can write script that will work on all these
> platforms?

Sure, there are several such languages.

Ruby, Perl, and Python are obvious choices. Another choice is Groovy, which
(in its default implementation) targets the Java Virtual Machine. All are
relatively high-level languages that would be good for developing stuff
quickly.

Which one is best probably depends on what you want to accomplish. Do you
need a system scripting language (one that will help you manipulate operating
system specific things?) or do you need just a general language that lets
you do general stuff easily? For example, do you need to be able to get the
permissions on a file or list off all the processes running? If you need
these things, that will probably influence your choice because one thing
that differentiates languages is their support for doing operating-system-
specific things. If you don't need that, then choose based on the general
power of the language and your personal preferences.

- Logan