10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a section of a script where I want to check a log file for a certain oracle error and if there is only one error (and it is ORA-39152) then I want to email that script is complete. Otherwise email failure and log.
Somehow with this while the log only has one error and it is ORA-39152, I... (5 Replies)
Discussion started by: cougartrace
2. Shell Programming and Scripting
I have small script:
COMMONFILEPATH=$WORKDIR/samples/... (4 Replies)
Discussion started by: emily
3. Shell Programming and Scripting
Am still learning Scripting and I come across a build command that I don't really understand
if /local/bin/wsname 2>/dev/null; then
if ; then
can some one in light me to what... (1 Reply)
Discussion started by: Wpgn
4. Shell Programming and Scripting
i have a parameter which has path of a file. Now i need to have another parameter with the content of that file. I tried the belwo script , can any one please help.
I dont want to use cat command to read. Can we do it with out using cat command.
while read line
do... (9 Replies)
Discussion started by: Ravindra Swan
5. Shell Programming and Scripting
hi I need help urgently...i need to write a shell script which can solve the following problem....its urgent plz help me out coz m totally newbie in shell scripting....
the problem is:
Suppose I have a folder called logs. whenever some error occurs some correspondence error file is generated.
I... (4 Replies)
Discussion started by: sukhdip
6. Shell Programming and Scripting
Over the last few months I have begun to expand my programing skills from windows, Java and SQL / PL-SQL programing into the wonderful world of shell scripting. With little training budget my only options for training are books, Internet and this site (BTY... (1 Reply)
Discussion started by: caddis
7. Shell Programming and Scripting
I am using #!/bin/sh shell. I have a variable which contains multi line data. I want to read that variable line by line. Can someone post the code to read the multi line variable line by line?
Any help is much appreciated. (2 Replies)
Discussion started by: gupt_ash
8. Shell Programming and Scripting
I am new to shell scripting and I have to to the following
I have a flat file with storename(lenth 20) , emailaddress(lenth 40), location(15). There is NO delimiters in that file.
Like the following str00001.txt
StoreName emailaddress location... (3 Replies)
Discussion started by: willywilly
9. Shell Programming and Scripting
1. I have a parameter file containing path to log files. For this example both paths are the same, one is stated directly and the second using env variables.
2. I try to parse the path... (1 Reply)
Discussion started by: lojzev
10. Shell Programming and Scripting
I'm writing a KSH script, and at one point, I have to call a new shell and perform some variable assignments.
I noticed that the assignment is not working.
Please see two samples below:
#>ksh "i=2;echo I is $i"
> echo I... (7 Replies)
Discussion started by: maverick80