Hi,
I have a K shell script a.scr calling b.scr.
b.scr does some calulation and returns a value. I need this value passed back on to a.scr for further processing?
Any help on how to pass back the value is greatly appreciated.
Thanks,
Prog3.
Thanks for the information, Salem.
How do I resolve this problem?
Can I start running the scripts at different times?
What other ways do I have to find if the process AB is running?
Hi,
I have 2 scripts running at the same time through cronjob. The scripts have the same functionality except for the path names, creating log files.
The scripts are as follows.
Script A:
#!/bin/sh
RPT_TO=/home/scripta
RPT_LOG=/home/loga
V=`ps -eaf | grep AB | wc -l`
if [ $V -gt 1 ]; then...
Hi
I am writing the deleted pass file to a log file. So, I need to loop thru one file after the other.
I followed -prune command and wrote the following script.
#!/bin/sh
RPT_TO=/home/load
RPT_LOG=/home/
rm $RPT_LOG/delete.log
for myFile1 in `find $RPT_TO \( -type d -name Processed...
Hi,
I am writing a script using find command to search for particular files in a directory and delete the files.
The directory structure is like this - /home/load and /home/load/processed.
The files are named as *.pass files and it is present in both /home/load and /home/load/processed...
Hi Guys,
Thanks for all your responses. It has been most helpful.
I tried all the 3 solutions.
Salem's code - I get all the values. Since, I wanted only the Last value of the Document number, I did not how to change the awk command.
olded - The code worked perfectly.
PHV - I tried this...
Hi,
I am new to unix scripting and need help for the following question. Any kind of help is appreciated.
The file I have is of the following format.
GROUP_FIELD_NAME:DocumentNumber
GROUP_FIELD_VALUE:1
GROUP_FIELD_NAME:PolicyNumber
GROUP_FIELD_VALUE:295
GROUP_FIELD_NAME:AccountNumber...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.