02-11-2011
Hi,
I have modified as you said, please try it.
Y
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Having a file as below
file.txt
error Server Network Name Dept Date Time
===========================================================================================================================
0 ServerA LAN1 AAA IT01 04/30/2008 09:16:26
0 ... (3 Replies)
Discussion started by: karthikn7974
3 Replies
2. Shell Programming and Scripting
Hi ,
I have file named docs.txt
The content of the file look like this:
DOC disk location Size
======= ===== ============= =========
TXT A /dev/dm-1 10
TXT B /dev/dm-2 10
BIN C ... (3 Replies)
Discussion started by: yoavbe
3 Replies
3. Shell Programming and Scripting
I have a file that contains the following format
delete from table1;
delete from table2;
insert into table1 (col1, col2) values (value1, value2)@
insert into table1 (col1, col2) values(value3, value4)@
insert into table2(col1, col2,col3) values(value1, value2, value3)@
etc
etc
This is... (9 Replies)
Discussion started by: hukcjv
9 Replies
4. Shell Programming and Scripting
Hi,
I have a file look likes this :
--->start hir
Trace file: pudwh_ora_9998.trc
Sort options: fchela exeela
***************************************************************count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed... (3 Replies)
Discussion started by: yoavbe
3 Replies
5. Shell Programming and Scripting
Dear all,
I have a complex data file shown below,,,,,
A_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
C_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
A_ABCDEF715 52410.9 18598.2 10611 10754.7 122535 252426 36631.4
C_DBCDI_1353 0... (19 Replies)
Discussion started by: AAWT
19 Replies
6. Shell Programming and Scripting
Using hp-ux's shell, I'm trying to echo a complex awk command into a script file for later use. But it fails on a newline character and splits the rest of the command onto the next line.
echo ' printf("%s: TOTAL = %18.0lf\n", FILENAME, TOTAL) >> "TOTAL.TXT";' >>awk.script
Looks... (3 Replies)
Discussion started by: Scottie1954
3 Replies
7. Shell Programming and Scripting
Hi,
I have a file. In this file when ever the word "ABC" occurs at position from 25 and 34 I would like to replace
the value at postion 100 to 5 for the first 1000 rows only.
I have written the following Awk command.
nawk 'substr($0,25,9)=="ABC" {print $0}' filename
The above command... (4 Replies)
Discussion started by: pinnacle
4 Replies
8. Shell Programming and Scripting
hello,
i have a complex awk problem...
i have two tables, one with a value (0 to 1) and it's corresponding p-value, like this:
1. table:
______________________________
value p-value
... ...
0.254 0.003
0.245 0.005
0.233 0.006
... ...
______________________________
and a... (6 Replies)
Discussion started by: dietmar13
6 Replies
9. Programming
Dear All,
I am having a requirement to find the difference between 2 files and generate a discrepancy report out of it as an html page. I prefer using diff -y file1 file2 since it gives user friendly layout to know any discrepancy in the record and unique records among the 2 file. Here's how it... (12 Replies)
Discussion started by: Badhrish
12 Replies
10. Shell Programming and Scripting
Hi,
I have file which contains data based on tags. Output of the file should be in order of tags.
Below are the files :
Tags.txt
f12
f13
f23
f45
f56
Original data is like this :
Data.txt
2017/01/04|09:07:00:021|R|XYZ|38|9|1234|f12=CAT|f23=APPLE|f45=PENCIL|f13=CAR... (5 Replies)
Discussion started by: Prathmesh
5 Replies
LEARN ABOUT CENTOS
mrmfetchsetvalues
MrmFetchSetValues(library call) MrmFetchSetValues(library call)
NAME
MrmFetchSetValues -- Fetches the values to be set from literals stored in UID files
SYNOPSIS
#include <Mrm/MrmPublic.h>
Cardinal MrmFetchSetValues(
MrmHierarchy hierarchy_id,
Widget widget,
ArgList args,
Cardinal num_args);
DESCRIPTION
The MrmFetchSetValues function is similar to XtSetValues, except that the values to be set are defined by the UIL named values that are
stored in the UID hierarchy. MrmFetchSetValues fetches the values to be set from literals stored in UID files.
hierarchy_id
Specifies the ID of the UID hierarchy that contains the specified literal. The value of hierarchy_id was returned in a previous
call to MrmOpenHierarchyPerDisplay.
widget Specifies the widget that is modified.
args Specifies an argument list that identifies the widget arguments to be modified as well as the index (UIL name) of the literal
that defines the value for that argument. The name part of each argument (args[n].name) must begin with the string XmN followed
by the name that uniquely identifies this attribute tag. For example, XmNwidth is the attribute name associated with the core
argument width. The value part (args[n].value) must be a string that gives the index (UIL name) of the literal. You must define
all literals in UIL as exported values.
num_args Specifies the number of entries in args.
This function sets the values on a widget, evaluating the values as public literal resource references resolvable from a UID hierarchy.
Each literal is fetched from the hierarchy, and its value is modified and converted as required. This value is then placed in the argument
list and used as the actual value for an XtSetValues call. MrmFetchSetValues allows a widget to be modified after creation using UID file
values the same way creation values are used in MrmFetchWidget.
As in MrmFetchWidget, each argument whose value can be evaluated from the UID hierarchy is set in the widget. Values that are not found or
values in which conversion errors occur are not modified.
Each entry in the argument list identifies an argument to be modified in the widget. The name part identifies the tag, which begins with
XmN. The value part must be a string whose value is the index of the literal. Thus, the following code would modify the label resource of
the widget to have the value of the literal accessed by the index OK_button_label in the hierarchy:
args[n].name = XmNlabel;
args[n].value = "OK_button_label";
RETURN VALUE
This function returns one of the following status return constants:
MrmSUCCESS
The function executed successfully.
MrmPARTIAL_SUCCESS
At least one literal was successfully fetched.
MrmBAD_HIERARCHY
The hierarchy ID was invalid.
MrmFAILURE
The function failed.
RELATED
MrmOpenHierarchyPerDisplay(3), XtSetValues(3).
MrmFetchSetValues(library call)