![]() |
|
|
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 |
| Storing the values in text file using while loop in shell script | KiranKumarKarre | Shell Programming and Scripting | 5 | 05-31-2009 03:30 PM |
| How to check the repetition values in a file using bourne shell | Nandagopal | Shell Programming and Scripting | 1 | 04-07-2009 09:22 AM |
| how can i read text file and assign its values to variables using shell | rosalinda | Shell Programming and Scripting | 4 | 08-26-2008 06:20 AM |
| update a file with values from other file in shell bash | teodora | Shell Programming and Scripting | 1 | 07-03-2008 12:39 PM |
| Korn Shell Script - Read File & Search On Values | run_unx_novice | Shell Programming and Scripting | 2 | 06-15-2005 08:20 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Get values from a file and the name of the shell
I have 2 questions for which I thank for your help
Question 1) In the file A, i have a list of email addresses > ex: $ cat a > alfa.beta @ gmail.com, user.client @ hotmail.com, @ yahoo.com test.dummy I want to use the values that are within the file A, in a specific instruction eg mail alfa.beta@gmail.com, user.client@hotmail.com, test.dummy@yahoo.com <$ MAIL_FILE2 Suggestions? Question 2) In each shell I want to create a log with the name of the shell (eg <shell_name>. Log) in order to standardize the development, the name of the shell should be automatically getting inside the shell. Eg: MyLOG=/DIRECTORY/ $shell_name.log Inside the shell, there is a variable where i could get the name of the shell? Suggestions? Thanks for your supported |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|