10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to understand a shell scipt file ( .ksh file ) . In the shell script we are referring a variable .
Example : SessLogs=$STAFF_MSTR_DIR/staff_dtls
There are no references in the shell script from where the variable "$STAFF_MSTR_DIR" is being read from .
Could anyone... (2 Replies)
Discussion started by: Sudheer Maddula
2. Shell Programming and Scripting
is there a way to pass parameter into oracle store procedure by reading date range in file and increment accordingly. Something like this
sqlplus -s user/pwd@DB
execute TEST( to_date( '01-JAN-2015, 'dd.mm.yyyy' ), to_date( '03-JAN-2015', ... (1 Reply)
Discussion started by: rohit_shinez
3. Shell Programming and Scripting
I'm using bash and would like to do the following. I would like to read some values from the file and store it in the variable and use it.
My file is 1.txt and its contents are
I would like to read "5.6" and "4" and store it in a variable in shell... (6 Replies)
Discussion started by: scriptfriend
4. Shell Programming and Scripting
I need to read a variable value from script.
Below is the scenario
I am reading a value from an external file say a.txt
I need the corresponding value of the months in in numerics such as Jan -->1,
I have this mapping in another file... (1 Reply)
Discussion started by: aixjadoo
5. UNIX for Dummies Questions & Answers
I have a shell script say primary.sh . There is a file called params
my scenario is
primary.sh should read all the values and echo it
i should pass like
output would be
... (2 Replies)
Discussion started by: ssuresh1999
6. UNIX for Dummies Questions & Answers
I have a situation where I need to read a variable from another file. But the problem is that the variable in the other file is starting with $.
echo "Print : $var1"
It works fine if the file1 is having var1=out (note that it is... (6 Replies)
Discussion started by: shash
7. Shell Programming and Scripting
Here is the output of lpstat. I would like to read value of Queue which is(abxxxxb1)and status that is DOWN in first line. i dont care what is in second line. any one can help me.thanks
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- ---------... (5 Replies)
Discussion started by: sagii
8. Shell Programming and Scripting
I need to read the parameters from a file and assign them to Global variables. I need to read a specific parameter value every time and pass it to the other script.
Suppose i have a parameter file like PARAM.txt
I want to read PAR2 file and in the... (1 Reply)
Discussion started by: Raamc
9. Shell Programming and Scripting
I have a script where 3 parametrs are passed to it and it creates the file for each site form a template. If i want to
get the 3rd parameter (which is the site) passed to the script to come from another file how I can change the script tp acheive it?
Here is my script:
what i have in the... (15 Replies)
Discussion started by: dsravan
10. Shell Programming and Scripting
I have a parameter file and it contains following items
$ cat TransactionParams
EDW_Database_Parm=hdw_erks... (2 Replies)
Discussion started by: gopskrish