![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| exit status running java classpath in unix shell | mmcds | High Level Programming | 2 | 08-02-2007 11:06 PM |
| Shell running setup in Korn ? | Browser_ice | Shell Programming and Scripting | 4 | 08-14-2006 09:22 PM |
| Running Shell Script from Java | Asty | Shell Programming and Scripting | 3 | 08-14-2006 10:08 AM |
| Korn Shell script not running | Asty | Shell Programming and Scripting | 1 | 08-11-2006 02:17 PM |
| Is there any possibility that invoking java function in c programm? | virmin | High Level Programming | 6 | 06-19-2005 07:55 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Running a Java Programm with a (korn)shell-script
hey everyone,
For my studies i had to write a javaprogram which reads 2 integers from the keyboard and then using the basic operations(addition, division etc) with them. so far no problem. but now i gotta make a shell-script which: runs the program(compiled with javac) #!bin/ksh java Aufgabe1 > test1.log so far so good. of course it works if i manually type the numbers. result and everything in the logfile are correct. but i gotta make an inputfile(.txt) in which there are the 2 integers. so i gotta expand my script, reading the integers from the .txt file and running the program with those. unhappily i got no clue, how to do that. anyone could help me here, plz? regards simlmf |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|