I am trying to write a shell script that will remove files in a directory based on the date. For instance, remove all files older than yesterday. Any ideas? (4 Replies)
Dear all,
Hello and Good Morning. I have a properties file in a specific directory in UNIX that can be accessed by certain users. This properties file is being used by a number of backend programs. The properties file contain the username and the password of the database as well. How do I design... (1 Reply)
Hi All,
Please help me to find or remove files based on position based search pattern.
file1.txt:
aaabbbccc
dddeeefff
iiijjjkkk
file2.txt:
lllmmmnnn
ooopppqqq
rrrsssttt
file3.txt:
uuuvvvwww
xxxeeeyyy
zzzcccooo
From the above files, I like to delete the files that have "eee"... (1 Reply)
Hi,
Iam in a need for a script/function in KSH where I want to read a text file (property file) in block by block. Here is the example:
Heading Name Descripton
Block Block1 Value1 Description
Property Name Value
Property Name Value
Property Name Value
Property Name Value
Property Name... (7 Replies)
Hi
I have been struggling with a script for removing duplicate messages from a shared mailbox.
I would like to search for duplicate messages based on the “Message-ID” string within the messages files.
I have managed to find the duplicate “Message-ID” strings and (if I would like) delete... (1 Reply)
Hello team,
I have a number of files in a folder which are dated yesterday and today.Can i remove all the files which i created today based on date??
is there any syntax for this ?? (1 Reply)
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)
Hello,
I have some problem to remove the columns which have the duplicate value of -9 which is in every row except -9 in some row.
Input file showed in below :
Col1 Col2 Col3 Col4 Col5 Col6
A 1 A -9 0 -9
B 2 T -9 -9 -9
C 3 D -9 1 -9
D 4 R -9 2 -9
Output should... (6 Replies)
I have two files, a keepout.txt and a database.csv. They're unsorted, but could be sorted.
keepout:
user1
buser3
anuser19
notheruser27
database:
user1,2343,"information about",field,blah,34
user2,4231,"mo info",etc,stuff,43
notheruser27,4344,"hiya",thing,more thing,423... (4 Replies)
I have multiple files with pattern of "*.tps (example:tps-20170307170421560-1053.tps)" in my log directory(files are in different sub directories).
entries in files are given below. I want to extract highest value of endtime accross all files.
"endTime :1488902691462"
... (7 Replies)
Discussion started by: Agoyals1986
7 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)