| Author |
How to read the following text file using shell script
|
Ashok kolasani
Greenhorn
Joined: Oct 10, 2009
Posts: 3
|
|
Hi ,
How can I read the text file using shell script.
File content looks like this
PATCH NAME = TEST
FILES AFFECTED = status.ear,sms.war,auto.jar,kat.ear
DB = True
Now I want to read above file and store them into variables then print them on console.
Can anyone help me??Thanks in advance.....
|
Ashok kumar
|
 |
Misha Ver
Ranch Hand
Joined: Mar 03, 2008
Posts: 470
|
|
This place http://www.coderanch.com/forums/f-13/Linux-UNIX is better for your question.
Anyway, could you tell what you've already done and what exactly it is that you're having trouble understanding?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Take a look at java.util.Properties and its load methods.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: How to read the following text file using shell script
|
|
|