03-27-2014
Thanks Anbu for your kind reply
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Here is what old matrix look like,
IDs X1 X2 Y1 Y2
10914061 -0.364613333 -0.362922333 0.001691 -0.450094667
10855062 0.845956333 0.860396667 0.014440333 1.483899333... (7 Replies)
Discussion started by: ssshen
7 Replies
2. Shell Programming and Scripting
I need to get the output in row wise for the repeated column data
Ex:
Input:
que = five
ans = 5
que = six
ans = 6
Required output:
que = five six
ans = 5 6
Any body can guide me?"""""" (2 Replies)
Discussion started by: vasanth_vadalur
2 Replies
3. Shell Programming and Scripting
Hello Experts,
I am new in scripting. I would like to filter and migrate data from row to column by awk. Thanks in advance.
For example
FileA
abc
1
2
3
Xyz3
4
1
5
bcd1
Output :
Abc 1 2 3
Xyz3 4 1 5
bcd1 3 5 6 (5 Replies)
Discussion started by: shah09
5 Replies
4. Shell Programming and Scripting
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Discussion started by: Bhuvaneswari
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all!
I have a data set in this tab separated format : Label, Value1, Value2
An instance is "data.txt" :
0 1 1
-1 2 3
0 2 2
I would like to parse this data set and generate two files, one that has only data with the label 0 and the other with label -1, so my outputs should be, for... (1 Reply)
Discussion started by: gnat01
1 Replies
6. Shell Programming and Scripting
Hi All, found similar posts, but not exatcly what i wanted.
I have an text file like below and am trying to send mail as an excel file but when i get the excel file as the attachment, all the data is coming in the first column. I need below data in 4 columns.
Unix file
Name,ID,Trade,Date... (3 Replies)
Discussion started by: robinbannis
3 Replies
7. Shell Programming and Scripting
Hello experts,
Please help me in achieving this in an easier way possible. I have 2 csv files with following data:
File1
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:36:09,JOB_5340
08/23/2012 12:36:14,JOB_5340
08/23/2012 12:36:22,JOB_5350
08/23/2012... (5 Replies)
Discussion started by: asnandhakumar
5 Replies
8. Shell Programming and Scripting
Hi,
I have a file (stats.txt) with columns like in the example below. Destination IP address, timestamp, TCP packet sequence number and packet length.
destIP time seqNo packetLength
1.2.3.4 0.01 123 500
1.2.3.5 0.03 44 1500
1.3.2.5 0.08 44 1500
1.2.3.4 0.44... (12 Replies)
Discussion started by: Zooma
12 Replies
9. Shell Programming and Scripting
Hi!
I have a file with the following format:CDR
...
MSISDN=111
...
CDR
...
MSISDN=xxx
...
CDR
...
MSISDN=xxx
...
CDR
...
MSISDN=111 (2 Replies)
Discussion started by: Flavius
2 Replies
10. Shell Programming and Scripting
Hi,
I have 2 csv/txt files with single columns. I am trying to merge them using paste, but its not working..
output3.csv:
flowerbomb
everlon-jewelry
sofft
steve-madden
dolce-gabbana-watchoutput2.csv:
http://www1.abc.com/cms/slp/2/Flowerbomb
http://www1.abc.com/cms/slp/2/Everlon-Jewelry... (5 Replies)
Discussion started by: ajayakunuri
5 Replies
LEARN ABOUT CENTOS
xcb_screensaver_query_info_reply
xcb_screensaver_query_info(3) XCB Requests xcb_screensaver_query_info(3)
NAME
xcb_screensaver_query_info -
SYNOPSIS
#include <xcb/screensaver.h>
Request function
xcb_screensaver_query_info_cookie_t xcb_screensaver_query_info(xcb_connection_t *conn, xcb_drawable_t drawable);
Reply datastructure
typedef struct xcb_screensaver_query_info_reply_t {
uint8_t response_type;
uint8_t state;
uint16_t sequence;
uint32_t length;
xcb_window_t saver_window;
uint32_t ms_until_server;
uint32_t ms_since_user_input;
uint32_t event_mask;
uint8_t kind;
uint8_t pad0[7];
} xcb_screensaver_query_info_reply_t;
Reply function
xcb_screensaver_query_info_reply_t *xcb_screensaver_query_info_reply(xcb_connection_t *conn, xcb_screensaver_query_info_cookie_t cookie,
xcb_generic_error_t **e);
REQUEST ARGUMENTS
conn The XCB connection to X11.
drawable TODO: NOT YET DOCUMENTED.
REPLY FIELDS
response_type
The type of this reply, in this case XCB_SCREENSAVER_QUERY_INFO. This field is also present in the xcb_generic_reply_t and can be
used to tell replies apart from each other.
sequence The sequence number of the last request processed by the X11 server.
length The length of the reply, in words (a word is 4 bytes).
state TODO: NOT YET DOCUMENTED.
saver_window
TODO: NOT YET DOCUMENTED.
ms_until_server
TODO: NOT YET DOCUMENTED.
ms_since_user_input
TODO: NOT YET DOCUMENTED.
event_mask
TODO: NOT YET DOCUMENTED.
kind TODO: NOT YET DOCUMENTED.
DESCRIPTION
RETURN VALUE
Returns an xcb_screensaver_query_info_cookie_t. Errors have to be handled when calling the reply function xcb_screensaver_query_info_reply.
If you want to handle errors in the event loop instead, use xcb_screensaver_query_info_unchecked. See xcb-requests(3) for details.
ERRORS
This request does never generate any errors.
SEE ALSO
AUTHOR
Generated from screensaver.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_screensaver_query_info(3)