[Shell script] How to read, filter and split from text file
Hi all,
First, I am sorry if my question duplicate with someone before.
Second, I am trying to create a shell script which will read a text file and give me information from text file.
Example:
$cat abc.txt
android_1=/home/abc/xyz/source/android
kernel_1=/home/abc/xyz/source/android/kernel/board1
...
... and so on
I want to create shell script which get directory information from abc.txt such as return "/home/abc/xyz/source/android"
How can I do that, any one help me please....
Too many thanks.
|