Matic | Hi, how do I convert .bat files to .sh for linux execution of java apps? | 10:24 |
---|---|---|
persia | It's more complicated than that, sometimes. | 10:31 |
persia | For a simple .bat file that just has one line calling java, you might be able to just rename it. | 10:31 |
persia | For something more complex, you'd have change how variables are set, etc. | 10:32 |
Matic | persia, where can I post the .bat file so you may have a look at it | 10:36 |
persia | paste.ubuntu.com, but realise that I may not be able to tell you the answer. | 10:37 |
Matic | persia, there it is at http://paste.ubuntu.com/162076/ | 10:40 |
persia | That falls into the middle. | 10:41 |
persia | You'd have to convert all the set lines to shell variable assignments (and make sure the paths were useful in your context). | 10:41 |
persia | The echo command is the same (except is has to be lowercase). | 10:41 |
persia | And then use shell variable references in the last line. | 10:42 |
persia | I don't know if it will work, but that's how I'd convert it if I was trying. | 10:42 |
Matic | persia, ok thanks let me try that | 10:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!