![]() |
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 |
| Read values from a file | w020637 | Shell Programming and Scripting | 3 | 02-24-2009 04:14 PM |
| extract from a file based on values in another file | Gussifinknottle | Shell Programming and Scripting | 1 | 01-11-2009 07:52 PM |
| update a file with values from other file in shell bash | teodora | Shell Programming and Scripting | 1 | 07-03-2008 11:39 AM |
| Converting Binary decimal coded values to Ascii Values | gaur.deepti | UNIX for Advanced & Expert Users | 3 | 04-02-2008 12:33 PM |
| Concatenating values in a File | amitkhiare | Shell Programming and Scripting | 7 | 10-09-2007 09:43 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
getting values from one file to another
Hi guys/gals,
I have solaris 10 machine and using ksh shell. I have a huge file template (a simple text file) that gets created in the result of inputs from users (values from some other scripts). for example, one of the scripts creates users, lets say we need 2 users, then it would store those two users in the properties file like this: (user) username=userABC username=userXYZ (user) Now, I'm trying to make my script to read the input value of the first user from this file, and then use this value in my script (which is another file), and execute it .... then the same thing for the next user. So, it would be something like a loop such that until no other users are there, keep executing your script. Can any of you shell scripting gurus out there help a newbie out ? Please help .... <img border="0"> Thanks a lot in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|