01-14-2010
@gregarion: You are not copying Ahmad's example properly. Look closely and you will discover 4 additional single quotes that you left out.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Are there any system sumary tools for Linux? What are some good ones for Solaris and HP-Ux? (2 Replies)
Discussion started by: vader
2 Replies
2. UNIX for Dummies Questions & Answers
Is there a unix command to provides the number of files in a directory? (2 Replies)
Discussion started by: rbarlow
2 Replies
3. Shell Programming and Scripting
$ cat file
a:12:56:12
b:23:12:23
d:32:24:12
c:90:12:24
required output:
a:12:56:12
b:23:12:23
d:32:24:12
c:90:12:24
t:157:104:71
t line is the total line, which will be the last line in the output.
Please help.
I tried this: (4 Replies)
Discussion started by: uwork72
4 Replies
4. Shell Programming and Scripting
I am trying to use awk to create a summary of a structured file. Here is what it looks like:
(random text)
H1 H2 H3 H4
44 78 99 30
31 -- 32 21
12 33 55 21
I'd like to be able to specify a column, say H2, and then have information about that column printed. ... (4 Replies)
Discussion started by: afulldevnull
4 Replies
5. Shell Programming and Scripting
I have a data file similar to this (but many millions of lines long). You can assume that it is totally unsorted but has no duplicate rows.
Date ,Tool_Type ,Tool_ID ,Time_Used
3/13/2014,Screwdriver,Screwdriver02, 6
3/13/2014,Screwdriver,Screwdriver02,20... (2 Replies)
Discussion started by: Michael Stora
2 Replies
6. Shell Programming and Scripting
Hello , I have several files which are looking similar to :
file01.txt
keyA001 350 X string001 value001
keyA001 450 X string002 value007
keyA001 454 X string002 value004
keyA001 500 X string003 value005
keyA001 255 X string004 value006
keyA001 388 X string005 value008
keyA001 1278 X... (4 Replies)
Discussion started by: alex2005
4 Replies
LEARN ABOUT CENTOS
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)