This is my headerHJKLName00014200012000000600424618201after head 201 I am looking for 382 space.total wc will be 421 then
can you tell me how can I accomplish this
we are performing some more actions in script, which is working fine..but this part I need help.please suggest where changes need to be made. I think in printf statement
hi i have file having following contain
2~%%~2~%%~7~%%~1~%%~none~%%~XYZ_MOV_HDR_REC~%%~1~%%~17_REC_ID == "H"
2~%%~2~%%~8~%%~2~%%~none~%%~XYZ_MOV_EXCL~%%~2~%%~20_UPC<=99999999
see the last column of first line having spaces i have a script
cat rec_iden_file
for i_line in `cat... (2 Replies)
Hi Friends,
Can any one help with this issue:
How to trim spaces for each line at the end,
Like I have a file in this format.
EMP1 SMITH 46373 5 STREET HOWARD 74636
EMP2 JONES 5454 { these are spaces ........}
EMP3 SMITH 46373 5 STREET HOWARD 74636
EMP4 JON 2554 { these are... (1 Reply)
Is there any command to add spaces to a lline....say i need 50 spaces between the data like
"aaabbbccc dddeeefff"
or may be like this
"aaaabbbbbbcccccdddddeeeffff "
your help is appreciated. (4 Replies)
Hi,
I need a help in deleting extra spaces in a text.
I have a huge file, a part of it is :-
3 09/21/08 03:32:07 started undef mino Oracle nmx004.wwdc.numonyx.com Message Text : The Oracle session with the PID 1103 has a CPU time ... (6 Replies)
Hi,
I have a problem where I need to append few spaces(say 10 spaces) for each line in a file whose length is say(100 chars) and others leave as it is.
I tried to find the length of each line and then if the length is say 100 chars then tried to write those lines into another file and use a sed... (17 Replies)
Hi All,
I have a line like this
" field1;field2;field3 " (single space after and before double quotes).
Now i have to remove these single space . Kindly help me.
Thanks in advance (2 Replies)
child_amt=$amount
prev_line="$prev_line $child_amt"
i am getting the result like this
21234567890001343 000001004OLFXXX029100020091112 0000060
but i want 8 spaces between the eg:
21234567890001343 000001004OLFXXX029100020091112 0000060
how can i do this in .ksh (1 Reply)
Hi, suppose I have the following data:
albert music=top40 age=20
bob music=punk rock age=25
candy music=r n b age=22
dave music=mozart or bach only age=30
I want to extract and manipulate the music column but it's got spaces in it. How can I substitute the space with an underscore... (2 Replies)
Discussion started by: almonds
2 Replies
LEARN ABOUT CENTOS
xkbresizekeyactions
XkbResizeKeyActions(3) XKB FUNCTIONS XkbResizeKeyActions(3)NAME
XkbResizeKeyActions - Change the number of actions bound to a key
SYNOPSIS
XkbAction * XkbResizeKeyActions (XkbDescRec *xkb, int key, int needed);
ARGUMENTS
- xkb keyboard description to change
- key keycode of key to change
- needed
new number of actions required
DESCRIPTION
The xkb parameter points to the keyboard description containing the key whose number of actions is to be changed. The key parameter is the
keycode of the key to change, and needed specifies the new number of actions required for the key.
XkbResizeKeyActions reserves the space needed for the actions and returns a pointer to the beginning of the new array that holds the
actions. It can change the acts, num_acts, and size_acts fields of xkb->server if it is necessary to reallocate the acts array.
If needed is greater than the current number of keysyms for the key, XkbResizeKeyActions initializes all new actions in the array to NoAc-
tion.
Because the number of actions needed by a key is normally computed as width * number of groups, and XkbResizeKeyActions does not modify
either the width or number of groups for the key, a discrepancy exists on return from XkbResizeKeyActions between the space allocated for
the actions and the number required. The unused entries in the list of actions returned by XkbResizeKeyActions are not preserved across
future calls to any of the map editing functions, so you must update the key actions (which updates the width and number of groups for the
key) before calling another allocator function. A call to XkbChangeTypesOfKey updates these.
If any allocation errors occur while resizing the number of actions bound to the key, XkbResizeKeyActions returns NULL.
SEE ALSO XkbChangeTypesOfKey(3), XkbResizeKeySyms(3)NOTES
A change to the number of actions bound to a key should be accompanied by a change in the number of symbols bound to a key. Refer to XkbRe-
sizeKeySyms for more information on changing the number of symbols bound to a key.
X Version 11 libX11 1.6.0 XkbResizeKeyActions(3)