Search Results

Search: Posts Made By: CAGIRL
1,583
Posted By CAGIRL
Parsing a variable
Can someone help me? I have been looking in the archives as I am sure this is very simple to do, but I do not know.
I have a variable which sometimes contains a file name and sometimes contains a...
2,573
Posted By CAGIRL
Thanks for your response, I ended up using the -L...
Thanks for your response, I ended up using the -L (follow link) parameter and that did the trick. I love this site, it is always helpful.
2,573
Posted By CAGIRL
Cleanup job to remove old files suddenly not working
Hi I have a job that has been running for a while with the following statement to cleanup a directory:
find /dbmgtu01/app/myplace/log ! \( -name "dc*" -o -name "sc*" -o -name "ms*" \) -type f -mtime...
20,813
Posted By CAGIRL
Thank you so much for your help, that was perfect.
Thank you so much for your help, that was perfect.
20,813
Posted By CAGIRL
I tried that ...
I tried that
var=$g_bin/MISSPIGGY/dc0000.auto_deploy.MISSPIGGY.PRD.cp_austin.20081007122846.26060
perl -pi -e "s/FILENAME/${var}/g" myfile

and am getting the following error:
Bareword found...
20,813
Posted By CAGIRL
Help with find and replace w/string containing special characters
Can I get some help on this please, I have looked at the many post with similar questions and have tried the solutions and they are not working for my scenario which is:

I have a text file...
1,829
Posted By CAGIRL
This helps, but I need to evaluate the value of...
This helps, but I need to evaluate the value of column 2 and if it matches "YES" then write it to file3. If it is "NO" then I write it to file4, etc. Can you tell me how to do that?
1,829
Posted By CAGIRL
processing records in a file
Hi,
I have a file that contains some records that I would like to process
each line that I am interested in. My goal is to create a new file that contains only the rest_of_line for each line that...
3,416
Posted By CAGIRL
Thank you so much, that worked, I really...
Thank you so much, that worked, I really appreciate your help.
3,416
Posted By CAGIRL
Can someone please help me? I have the...
Can someone please help me?
I have the following command that gets me what I need on the command line
ps -ef| awk '$2 == 9999 {print $8}' # where 9999 is my current sessions PPID

When I try...
3,416
Posted By CAGIRL
So, I guess the PID and the PPID are always going...
So, I guess the PID and the PPID are always going to be different. I thought I could tell if someone had launched b.ksh directly or if b.ksh was called from a.ksh. I think I will need to check the...
3,416
Posted By CAGIRL
Another PID ?
I have searched to find an anwer to no avail, I hope you can help me.
I have a.ksh that many people call and a.ksh calls b.ksh

b.ksh is also invoked stand-alone by many people as well

In...
Forum: Solaris 08-23-2008
3,437
Posted By CAGIRL
Problem Solved
Thanks everyone, I appreciate your help, this site is very helpful.
I had to include the execution of a particular profile that gets executed within my own profile.
Forum: Solaris 08-23-2008
3,437
Posted By CAGIRL
CRON Scheduler
I have akorn shell job that I can run manually but when I run via cron it starts and finishes, but does not do what it does when I run it manually.
Any ideals on why this is happening?
5,127
Posted By CAGIRL
Thank you very much, I appreciate your help. ...
Thank you very much, I appreciate your help.
The problem I am still having is that I am looking to find the final extension of a file name and the file name may have multiple nodes.

If the...
5,127
Posted By CAGIRL
l_comp is a string of pipe delimited file names,...
l_comp is a string of pipe delimited file names, I want to parse the string and then verify that the file exist where I expect it to exist.

lf_verify_component () {
l_comp_file=$i...
5,127
Posted By CAGIRL
How to call a local function within Awk
Hi,
I have the following statement which parses a string for me and prints it out:
l_comp="dc000.runksh.test.ksh|
$g_sql/dc0000.runksh_test.sql|new.dat|control.ctl"

echo $l_comp | awk -F"|"...
5,282
Posted By CAGIRL
Thank You
Awesome, Thank you very much, that worked.
5,282
Posted By CAGIRL
How do I search a File for a string exact match
Hi, Can you help please.

I have the following comand:
if [[ `grep $l_string $l_tmp_file | tr -d ' '` = $l_string ]]; then
l_valid_string="Y"
fi
The problem I am trying to solve is that...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 09:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy