Search Results

Search: Posts Made By: mark007
3,574
Posted By mark007
Thanks for the replies. The problem is,...
Thanks for the replies.

The problem is, these scripts are not under my control at all. I can only think from the point of view of the parent, I need to run these scripts, and they should never be...
3,574
Posted By mark007
Child Killing Parent
Hi all,

I am writing a script which calls other third party scripts that perform numerous actions. I have no control over these scripts.

My problem is, one of these scripts seems to execute and...
5,379
Posted By mark007
wow that looks good, I think the idea of using &...
wow that looks good, I think the idea of using & and wait was excellent to get around the blocking.

Thanks.
5,379
Posted By mark007
Hi Thank you but the problem here is, my...
Hi

Thank you but the problem here is, my main calling script that begins the rsh, when it receives the kill command, it actually sits and waits for the rsh to fully complete before it enters the...
5,379
Posted By mark007
Wow thats a great idea.... but what I was really...
Wow thats a great idea.... but what I was really hoping to do eventually was

instead of

.
.
./scriptb.sh
.
.

I will be doign

.
.
rsh machineb "/scriptb.sh"
.
.

I guess this one...
5,379
Posted By mark007
Killing process and children
Hi all,

I have been searching all day for a nice solution to this problem.

I have three scripts. A start script, a child script and a stop script.

Script A (scripta.sh)
Its Child Script B...
26,546
Posted By mark007
Thanks Christoph. The problem is, the string...
Thanks Christoph.

The problem is, the string to be replaced will be given by a user on a webpage which allows the user total freedom.

This is then used as input to sed, which replaces a line in...
26,546
Posted By mark007
Thanks for the link. I actually fixed the...
Thanks for the link.

I actually fixed the problem with the forward slash. Now its just a matter of fixing the problem with the ampersand being treated as a sed special char.

Here is the code so...
26,546
Posted By mark007
Thanks for the printf command, I never knew that...
Thanks for the printf command, I never knew that could do shell escaping for me.

That seems to escape most of the characters that could break my sed, but still if I use an ampersand in my second...
26,546
Posted By mark007
SED: Replacing $1 with $2 escape problem
Hi all,

I have a script which uses sed to replace one string with another. The problem is, the string to be matched, and its replacement are coming in as two command line arguments $1 and $2

$1...
11,378
Posted By mark007
sed problem replacing long strings
Hi all,

I have a script which uses sed to replace one string with another. The problem is, the string to be matched, and its replacement are coming in as two command line arguments $1 and $2

$1...
2,715
Posted By mark007
Expect Script Strangeness
Hi all,

I am trying to use a very simple expect script to automate entering one or two details into a console connection of a solaris machine so that I can do a boot net - install.

If I run the...
Forum: Web Development 08-24-2008
22,984
Posted By mark007
Fantastic. Yeah security is something that needs...
Fantastic. Yeah security is something that needs alot of thought I think. I haev a nice safesql php class that I use to make sql queries in php, its very nice. I would love to have / find a safe...
Forum: Web Development 08-24-2008
22,984
Posted By mark007
Ya thanks all Simple javascript "ajax" call...
Ya thanks all

Simple javascript "ajax" call to the script using "GET" worked. Command line arguments come in in the env variable $QUERY_STRING. I find it hard to write a command line input parser...
Forum: Web Development 08-20-2008
22,984
Posted By mark007
Javascript -> Shell Script
Hi all,

I am trying to call a shell script from a javascript function. This works fine and the shell script returns everything I expected BUT I cannot figure out how to pass command line arguments...
2,385
Posted By mark007
rsh breaking me out of loop
Hey all

I have two scripts, one script containing the guts of my code.

The other simply loops through a list, calling the other script on each iteration.

Problem is when I add the line
...
Showing results 1 to 16 of 16

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