Hi All
I have a need due time constraint to issue the mail command in background. I have a script that sends a message to a mail address as follows :-
echo "$MLINE" | mail -s "$HOST - $TEXT" name@co.com &
The script runs frequently and I check to see if the script is active and if it is , it... (5 Replies)
How do I execute a batch command from a script, which "waits" with the next command until the first one has finished?
=======
A piece of my script looks like this:
#!/bin/sh
(...)
# run a long batch job:
./run_calculation.sh
# then rename resulting file:
mv output.dat backup.dat
(...)
... (7 Replies)
<! pad_meth: <! program = "/usr/lib/drivers/pse/x29d -p"
how should i program it in oder to display this:
<! pad_meth:
<! program = "/usr/lib/drivers/pse/x29d -p"
;) (1 Reply)
Hi,
Here is what I want to do
I want to search local directory and its sub directory, all the files which contain any string like _12345, then remove this string.
String is a combination of _ plus a random integer number.
For example, here is one line in a file before
<properties... (1 Reply)
hi gooday
I need some help with a rename I am attempting.
I'd like to rename a bunch of files in a folder
example
list.dat.old to list_N.dat
query.dat.old to query_N.dat
note the two periods in (.dat.old) to become _N.dat
I tried using sed like this
ls *.dat.old | sed... (3 Replies)
Can you please point me in the correct direction?
I need a line or script to run though a given directory and find all files with "@domain.local" in there names and simple remove that.
For example if the files were named 1234@domain.local the file would then become 1234. (1 Reply)
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
I need to run a test SFTP command in a batch mode and what I need to prompt my password after the sftp userid@hostname. I do not have have an ssh key exchanged between my server and the external server. I only have access to it as an sftp server. I must enter my password in my script. How do i... (2 Replies)
Hi!!
I want to create a batch file so the sh file could change a file on a specific time.
I made this config:
sed -i 's/range 192.168.1.200 192.168.1.220;/option POLYCOM "tftp://10.20.1.10";/g' /etc/dhcp3/dhcpd.conf
My issue is that the sed does not accept the :// character.... (2 Replies)
Discussion started by: jocas9
2 Replies
LEARN ABOUT HPUX
xmobjectatpoint
XmObjectAtPoint(library call) XmObjectAtPoint(library call)
NAME
XmObjectAtPoint -- A toolkit function that determines which child intersects or comes closest to a specified point
SYNOPSIS
#include <Xm/Xm.h>
Widget XmObjectAtPoint(
Widget widget,
Position x,
Position y);
DESCRIPTION
XmObjectAtPoint searches the child list of the specified manager widget and returns the child most closely associated with the specified
x,y coordinate pair.
For the typical Motif manager widget, XmObjectAtPoint uses the following rules to determine the returned object:
o If one child intersects x,y, XmObjectAtPoint returns the widget ID of that child.
o If more than one child intersects x,y, XmObjectAtPoint returns the widget ID of the visible child.
o If no child intersects x,y, XmObjectAtPoint returns NULL.
The preceding rules are only general. In fact, each manager widget is free to define "most closely associated" as it desires. For example,
if no child intersects x,y, a manager might return the child closest to x,y.
widget Specifies a manager widget.
x Specifies the x-coordinate about which you are seeking child information. The x-coordinate must be specified in pixels, relative
to the left side of manager.
y Specifies the y-coordinate about which you are seeking child information. The y-coordinate must be specified in pixels, relative
to the top side of manager.
RETURN
Returns the child of manager most closely associated with x,y. If none of its children are sufficiently associated with x,y, returns NULL.
RELATED XmManager(3).
XmObjectAtPoint(library call)