Hi ,
I have a file (a.txt ) with data :
17
18
19
I wants to make file which will have data as :
17,18,19
Can anyone please suggest me the way or any code snippet.
Thanks in advance.
Regards,
VJ (8 Replies)
I have file finish.txt, this file contains (result, path):
I would like so that (path, result) in finish.txt:
I use only bash (awk, sed, ...)
Thx (4 Replies)
Hi,
I'm struggling to write a script to do the following,
-will go through each line in the file
-in a specific character positions, changes
the value to a new value
-These character positions are fixed througout the file
-----------------------
e.g.: file1.sh will have the following 3... (4 Replies)
Dear UNIX community,
I would like to to count characters from a specific row and have them displayed line-by-line.
I have a file called testAwk2.csv which contain the following data:
rabbit penguin goat
giraffe emu ostrich I would like to count in the middle row individually... (4 Replies)
Hello,
I would like to convert a list of rows to a space separated line. Any ideas?
Input file:
"Administration Tools"
"Design Suite"
"Dial-up Networking Support"
"Editors"
desired output
"Administration Tools" "Design Suite" "Dial-up Networking Support" "Editors"
Thanks,... (4 Replies)
hi,
I am basically running a sql that returns me values and I have stored them to a variable for example value of the variable will be:
123 124 345
now I want to write values stored in the variable into a file as
123
124
345
thanks in advance (3 Replies)
A text file has two logs of same event & both logs have to be correlated into a single line before same can be processed further
RAW
RunningLog
Date Month Year Time Event
9 JUN 2013 1932 2
10 JAN 2014 1000 4
Duration Closed
... (10 Replies)
Discussion started by: newageBATMAN
10 Replies
LEARN ABOUT CENTOS
xkbaddgeomoverlay
XkbAddGeomOverlay(3) XKB FUNCTIONS XkbAddGeomOverlay(3)NAME
XkbAddGeomOverlay - Add one overlay to a section
SYNOPSIS
XkbOverlayPtr XkbAddGeomOverlay (XkbSectionPtr section, Atom name, int sz_rows);
ARGUMENTS
- section
section to which an overlay will be added
- name name of the overlay
- sz_rows
number of rows to reserve in the overlay
DESCRIPTION
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding
structure is incremented by 1. These functions do not change sz_* unless there is no more room in the array. Some of these functions fill
in the values of the element's structure from the arguments. For other functions, you must explicitly write code to fill the structure's
elements.
The top-level geometry description includes a list of geometry properties. A geometry property associates an arbitrary string with an
equally arbitrary name. Programs that display images of keyboards can use geometry properties as hints, but they are not interpreted by
Xkb. No other geometry structures refer to geometry properties.
XkbAddGeomOverlay adds an overlay with the specified name to the specified section. The new overlay is created with space allocated for
sz_rows rows. If an overlay with name name already exists in the section, a pointer to the existing overlay is returned. XkbAddGeomOverlay
returns NULL if any of the parameters is empty or if it was not able to allocate space for the overlay. To allocate space for an arbitrary
number of overlays to a section, use the XkbAllocGeomOverlay function.
STRUCTURES
typedef struct _XkbOverlayRec {
Atom name; /* overlay name */
XkbSectionPtr section_under; /* the section under this overlay */
unsigned short num_rows; /* number of rows in the rows array */
unsigned short sz_rows; /* size of the rows array */
XkbOverlayRowPtr rows; /* array of rows in the overlay */
XkbBoundsPtr bounds; /* bounding box for the overlay */
} XkbOverlayRec,*XkbOverlayPtr;
SEE ALSO XkbAllocGeomOverlay(3)X Version 11 libX11 1.6.0 XkbAddGeomOverlay(3)