Hi all,
I have a file with lines written somewhat like this.
aaaa
ccc
aa
linux
browse = no
xssxw
cdcedc
dcsdcd
csdw
police
dwed
dwd
browse = no
cdecec (2 Replies)
Hi,
I have a config.xml which cointains the tags like
<CONFIG>
<PROPERTY name="port" value="1111"/>
<PROPERTY name="dbname" value="ABCDE"/>
<PROPERTY name="connectstring" value="xyz/pwd"/>
</CONFIG>
This file is in some directory at UNix box.
I need to write a... (4 Replies)
I have sourced a property file in my script like this to load some variables in the script
Then i am able to echo all the property file values inside script but the script is not able to recognize other unix commands
#!/bin/bash
. build.properties
mkdir build
i am getting error ... (3 Replies)
Hi All,
I have 2 properties files - one is a master templete and other one is a node specific properties file, I need to comapre these 2 properties files and make sure the node Specific properties file contains all the properties in the master temple properties file else report the missing... (5 Replies)
Hi!
i need a script that can read a property file.
i.e., A script to read a "property" from property file.
Read the property value and
based on value of property, decide whether to start the some dataload activity or not.
Its urngent. Can anyone help me out???:( (7 Replies)
I have to do a read operation for a field in property file, which looks like follows:
123|xyz|datetime|count
'|' is delimiter.
Finally I managed to read the contents of property file using statement like
cut -d"|" -f1 $PROPERTIES_FILE | tr '\n' ' ' <-- Reading first column
But now I... (2 Replies)
Hi genius,
Following is the problem.
We have one templete file(input file) where some variables will be used
Example:
word1 word2 &{word3}
word4 ${word5} word6
And also we have one property file where we define these variables
Example:
word3= something
Word5= something
Need to read... (5 Replies)
Hello All,
Greetings..
I have a json file that I need to pase its URLs and other values.
The match should start with "notifications" and output URLs and settings values.
I tried with python or awk but hardly could get URLs only. Or whole URLs from full json file. Could not match... (2 Replies)
Discussion started by: 7adi
2 Replies
LEARN ABOUT OSF1
xmactivateprotocol
XmActivateProtocol(3X)XmActivateProtocol(3X)NAME
XmActivateProtocol - A VendorShell function that activates a protocol
SYNOPSIS
#include <Xm/Xm.h> #include <Xm/Protocols.h>
void XmActivateProtocol (shell, property, protocol)
Widget shell;
Atom property;
Atom protocol;
void XmActivateWMProtocol (shell, protocol)
Widget shell;
Atom protocol;
DESCRIPTION
XmActivateProtocol activates a protocol. It updates the handlers and the property if the shell is realized. It is sometimes useful to
allow a protocol's state information (callback lists, and so on) to persist, even though the client may choose to temporarily resign from
the interaction. This is supported by allowing a protocol to be in one of two states: active or inactive. If the protocol is active and
the shell is realized, the property contains the protocol Atom. If the protocol is inactive, the Atom is not present in the property.
XmActivateWMProtocol is a convenience interface. It calls XmActivateProtocol with the property value set to the atom returned by interning
WM_PROTOCOLS. Specifies the widget with which the protocol property is associated. Specifies the protocol property. Specifies the proto-
col Atom (or an int type cast to Atom).
For a complete definition of VendorShell and its associated resources, see VendorShell(3X).
SEE ALSO VendorShell(3X), XmActivateWMProtocol(3X), XmInternAtom(3X)XmActivateProtocol(3X)