![]() |
|
|
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 |
| need script for passwd , can't use expect tool | Nicol | Shell Programming and Scripting | 35 | 07-20-2009 11:00 PM |
| Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server | madhunk | UNIX for Dummies Questions & Answers | 5 | 01-31-2008 01:30 PM |
| CD burning tool | XP_2600 | SUN Solaris | 7 | 01-23-2006 01:01 PM |
| Tool top | daemon | SUN Solaris | 2 | 08-04-2004 11:36 PM |
| Log Rotation Tool/Script | yelalouf | Shell Programming and Scripting | 4 | 12-17-2003 09:27 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Script tool
Hello,
I am new to korn shell scripting and I would appreciated if someone can help me get started with the following: I have a text(registry) file which looks like: 1 SOFTWARE 0 4 Clusters 0 0 Application Server 0 0 BasePath 1 /home/new/sso 0 AppPath 1 /home/new/ddd/eso/APPS and many more. Here is what i need to do: 1) The first parameter of the script takes the Keyname(second column such as BasePath) as argument. 2) The second parameter of the script should be denote the value of the Key you want returned back to the console. For example, in the following key, if you pass in 4, "/home/new/sso" should be returned to the console. example: 0 BasePath 1 /home/new/sso any help with this script will be much appreciated |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|