![]() |
:unsure:
Hi all I'd like to write a shell unix that read line by a text file and does a jar package with all the lines/files gotten by the text file. Any help on how to read lines by a file in a shell unix? Please help :blink: |
Sorry dude, but I really do not understand what you are asking.
|
maybe this is what you are looking for:
:
for EACHLINE in `cat some_file.txt`that will get you started on reading a test file line by line in shell script. |
I think he wants to read a file line by line and then dump the output from that into a .jar file.
Is there a command prompt tool for creating jar files? i don't use java so i don't know. If there is you could use bash scripting (asuming that you have bash installed) to read the text file and then dump the output into a jar file using the command prompt tool. That's what'd i do. Not sure if there is such a tool though, so do some googling. |
Isnt a JAR file a compiled set of java classes? Of all things, isn't it in binary format? Why would you want to dump line data from a console into a binary file?
|
no idea, that's just how i read the question.
|
| All times are GMT -5. The time now is 4:28 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC