I need to write a script that handle files. Its aim is to open and copy some sections from the file, in a binary context. The problem is I need to run it on both Windows and Unix.
Is there a scripting language that can handle both operating systems?
I need to write a script that handle files. Its aim is to open and copy some sections from the file, in a binary context. The problem is I need to run it on both Windows and Unix.
Is there a scripting language that can handle both operating systems?
On
Ruby also runs on both systems just fine and has support for manipulating paths for both worlds. There's a nice installer for Windows and most Linux distros also ship it in their default installation.
Python runs on both. The Windows version doesn't even need cygwin. If you have cygwin, then you can also use bash script.