![]() |
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 |
| extract data from file | raidzero | Shell Programming and Scripting | 4 | 06-17-2008 02:04 PM |
| How to extract data from a huge file? | srsahu75 | Shell Programming and Scripting | 5 | 01-18-2008 05:06 AM |
| Extract data from file | getdpg | Shell Programming and Scripting | 20 | 08-03-2006 03:54 AM |
| How to extract data from a text file | negixx | Shell Programming and Scripting | 1 | 07-19-2005 09:30 PM |
| extract data from file | apalex | Shell Programming and Scripting | 2 | 04-27-2002 01:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I m new to shell scripting & i need a help....
i have file like.... Name := sachin address:=something phone:=111 ... Note: There might be or not space between Name & := and between := & sachin. I need to extract the data from each line of file as var1=Name value1=sachin same for the others also... |
|
||||
|
Quote:
But there is problem again. I will explain u.. My file is - inputfile.txt Name := sachin phone := 111 address:=something By using u r code i m getting o/p as.... var=Name value= var=phone value=111 var=address value= I think u r $value veriable is not doing the desired thing...... ..........Please give me the solution ......i m waiting for the reply..... |
|
||||
|
Quote:
Name val=sachin var=phone val=111 var=address val=something waiting for the reply...... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|