![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Retrieve data from a file | tpltp | Shell Programming and Scripting | 2 | 03-28-2008 02:36 AM |
| how to retrieve a particular character from a file? | singalla | UNIX for Dummies Questions & Answers | 1 | 02-27-2008 07:05 AM |
| How to retrieve a particular line from a file | vinayap | UNIX for Dummies Questions & Answers | 2 | 07-11-2007 11:16 AM |
| Retrieve message from file | mpang_ | Shell Programming and Scripting | 5 | 02-02-2007 06:38 AM |
| retrieve timestamp associated with a file | 2nilotpal | UNIX for Dummies Questions & Answers | 2 | 08-08-2002 03:23 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi
i have a cfg file,it contains lpdma520.dev.ipc.us.aexp.com=SUBMCORE.REQUEST.FT lpdma521.dev.ipc.us.aexp.com=SUBMCORE.REQUEST.FTREQ lpdma522.dev.ipc.us.aexp.com=SUBMITSECUREFILEFLOW i am retrieving the values using the function RetrieveCfgvalue() { CFG_VALUE=`grep "$2=" $CONFIG_FILE_NAME | cut -d"=" -f2 eval "$1=$CFG_VALUE" } CONFIG_FILE_NAME="queuedetails.properties" RetrieveCfgvalue lpdma520.dev.ipc.us.aexp.com lpdma520.dev.ipc.us.aexp.com i am getting an error "line 1: lpdma522.dev.ipc.us.aexp.com=ESBUSCLT01,SUBMITSECUREFILEFLOW.SUBMCORE.REQUEST.FT,SUBMITSECUREFILEFLO W.NU.REQUEST.FT: command not found" please help |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
|
|||
| Google The UNIX and Linux Forums |