Hello All!
As a beginner user i want to add up sequential values in a text file and want to print total sum as output.The Text file will have values like the following:
class1{root}>less SUM.txt
1140.00 1155.00 1183.00 ... # it continues #
i tried to write a... (1 Reply)
I have to read the file, in each line of file i need to get 2 values using more than one search pattern.
ex: <0112 02:12:20 def > /some string/some string||some string||124
i donot have same delimiter in the line, I have to read '0112 02:12:20' which is timestamp, and last field '124' which is... (4 Replies)
Hi,
I have a text file with the following content:
monday,20
tuesday,10
wednesday,29
monday,10
friday,12
wednesday,14
monday,15
thursday,34
i want the following output:
monday,45
tuesday,10
wednesday,43
friday,12 (3 Replies)
Hi Experts,
I am new to shell scripting. Need some help in doing one task given by the customer.
The sample record in a file is as follows:
3538,,,,,,ID,ID1,,,,,,,,,,,
It needs to be the following:
3538,,353800,353800,,,ID,ID1,,,,,COLX,,,,,COLY,
And i want to modify this record in... (3 Replies)
Hi,
How can i delete values between 2 patterns like below:-
input.txt
192.1.1.2.22 blablabala
23.1.A.1.2 blablabalbl
5.4.1.1.12 blablaba
i need to delete all values between starting from "." no 3 and second column. the output should be:
192.1.1 blablabala... (15 Replies)
Hi, is it possible to add a number to all the values in a file and log transform them using awk. thanx in advance
input
name c1 c2 c3 c4
r1 0 0.2 0.3 0.4
r2 0 0 0 1
r3 1 0 0 0
r4 0 0 1 ... (1 Reply)
Discussion started by: quincyjones
1 Replies
LEARN ABOUT X11R4
xkbgetindicatormap
XkbGetIndicatorMap(3) XKB FUNCTIONS XkbGetIndicatorMap(3)NAME
XkbGetIndicatorMap - Gets the map for one or more indicators, using a mask to specify the indicators
SYNOPSIS
Status XkbGetIndicatorMap ( dpy, which, desc )
Display *dpy;
unsigned int which;
XkbDescPtr desc;
ARGUMENTS
- dpy connection to the X server
- which
mask of indicators for which maps should be returned
- desc keyboard description to be updated
DESCRIPTION
Xkb allows applications to obtain information about indicators using two different methods. The first method, which is similar to the core
X implementation, uses a mask to specify the indicators. The second method, which is more suitable for applications concerned with interop-
erability, uses indicator names. The correspondence between the indicator name and the bit position in masks is as follows: one of the
parameters returned from XkbGetNamedIndicators is an index that is the bit position to use in any function call that requires a mask of
indicator bits, as well as the indicator's index into the XkbIndicatorRec array of indicator maps.
XkbGetIndicatorMap obtains the maps from the server for only those indicators specified by the which mask and copies the values into the
keyboard description specified by desc. If the indicators field of the desc parameter is NULL, XkbGetIndicatorMap allocates and initial-
izes it.
To free the indicator maps, use XkbFreeIndicatorMaps.
DIAGNOSTICS
BadAlloc Unable to allocate storage
BadMatch A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise
invalid
BadImplementation
Invalid reply from server
SEE ALSO XkbFreeIndicatorMaps(3), XkbGetNamedIndicators(3)X Version 11 libX11 1.2.1 XkbGetIndicatorMap(3)