![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| How to write to stdin of another program (program A -> [stdin]program B) | vvaidyan | UNIX for Dummies Questions & Answers | 3 | 08-02-2008 05:21 PM |
| How to write to stdin of another program (program A -> [stdin]program B) | vvaidyan | High Level Programming | 1 | 04-30-2008 01:44 PM |
| getting date from shell and pass it to java | vanathi | Shell Programming and Scripting | 0 | 03-17-2008 04:49 AM |
| Sun Java Platform, Standard Edition 1.5.0_15 (Java 5 branch) | iBot | Software Releases - RSS News | 0 | 03-06-2008 05:50 PM |
| Using Subversion, NetBeans IDE, and Sun Java System Web Server With Java ME | iBot | UNIX and Linux RSS News | 0 | 02-01-2008 05:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to pass stdin to java?
I have a java program that uses jtidy to read from stdin and write to stdout. I want to use this with vi or vim.
The problem is that the java class paths are pretty ugly. How do I write a bash script that looks like this: ./jtidy.sh <inputfile.html >outputfile.html and has the same effect as java -cp jar1.jar:jar2.jar:jar3.jar com.signitek.jtidy.prettyprint.Main <inputfile.html >outputfile.html Thanks, Siegfried |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|