11-19-2014
Where did you find the code? We prefer answered threads to unanswered ones, they are much more useful in search.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can we transpose rows to columns? Fields within row are separated by a comma. (10 Replies)
Discussion started by: videsh77
10 Replies
2. Shell Programming and Scripting
Hi i have a file which has values seperated by "," as shown below and I want to transpose for every doc_id in one row.
Input:
DOC_ID,KEYWORD
105,REGISTROS
105,GEOLOGIA
105,NUCLEOS
105,EXPEDIENTE
105,PROGRAMAS
10025,EXPEDIENTE
10025,LOCALIZACIONES
10025,OFICIOS
10025,PROGRAMAS... (4 Replies)
Discussion started by: juelillo
4 Replies
3. Shell Programming and Scripting
Hi All,
I have been trying to transpose rows to column in an large file (about 15000 lines) between matching pattern. Searched all posts in this forum, but not able find the solution to my problem. Any help appreciated.!!
Input
/*------XXXXXX-------*/
owner: XXXX
location: XXXX... (3 Replies)
Discussion started by: RobP
3 Replies
4. UNIX for Dummies Questions & Answers
Hi there,
Below is sample three rows which i need transpose into multiple rows.
By keeping first 2 fields static and split them into multiple rows depend following date field. Each into seperate rows.
Sample code:
... (6 Replies)
Discussion started by: ganeshd
6 Replies
5. Shell Programming and Scripting
Hi Folks,
Iam a kinda newbie to unix shell scripting, the scenario is i have a text file containing the following info
Charlie chicago 15
Charlie newyork 26
jonny chicago 14
jonny newyork 15
joe chicago 15
joe newyork 18output should be
Name chicago ... (3 Replies)
Discussion started by: tech_frk
3 Replies
6. Shell Programming and Scripting
Hi there,
I have a small csv file example below:
source,cu_001,cu_001_volume,cu_001_mass,cu_002,cu_002_volume,cu_002_mass,cu_003,cu_003_volume,cu_003_mass
ja116,1.33,3024000,9374400,1.54,3026200,9375123,1.98,3028000,9385512
I want to transpose columns to rows starting at the second... (3 Replies)
Discussion started by: theflamingmoe
3 Replies
7. Shell Programming and Scripting
Hi All,
In shell, I have below data coming from some some text file as below:
. 351706 5861.8 0.026 0.012 12.584 0.026 0.012 12.582 0.000 0.000 0.000
Now i need the above data to be transposed as below
351706... (16 Replies)
Discussion started by: Anamica
16 Replies
8. Shell Programming and Scripting
Gents,
Transpose from row to column, taking in consideration the first column, which contends the date.
Input file
72918,111000009,111000009,111000009,111000009,111000009,111000009,111000009,111000009,111000009
72918,2356,2357,2358,2359,2360,2361,2362,2363,2364
72918,0,0,0,0,0,0,0,0,0... (12 Replies)
Discussion started by: jiam912
12 Replies
9. Shell Programming and Scripting
Hello guys,
First of all happy holidays and happy new year.
I'm new in bioinformatic and also it is my first time that I write in this forum. Therefore, sorry if I make some mistakes.
I'm writing to ask your help to fix a problem:
I have a file like this:
gene1 GO:0016491|GO:0055114... (8 Replies)
Discussion started by: Salvatore_espos
8 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have data in form of
A ram
B shyam
C seeta
D geeta
A bob
B methew
C Richad
D Mike
and i want it in this form.
A B C D
ram shyam seeta geeta
bob methew Richard Mike.
please help by providing the scripting for this. (3 Replies)
Discussion started by: ricbha
3 Replies
LEARN ABOUT PHP
imap_headerinfo
IMAP_HEADERINFO(3) 1 IMAP_HEADERINFO(3)
imap_headerinfo - Read the header of the message
SYNOPSIS
object imap_headerinfo NULL (resource $imap_stream, int $msg_number, [int $fromlength], [int $subjectlength], [string $defaulthost])
DESCRIPTION
Gets information about the given message number by reading its headers.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $msg_number
- The message number
o $fromlength
- Number of characters for the fetchfrom property. Must be greater than or equal to zero.
o $subjectlength
- Number of characters for the fetchsubject property Must be greater than or equal to zero.
o $defaulthost
-
RETURN VALUES
Returns the information in an object with following properties:
o toaddress - full to: line, up to 1024 characters
o to - an array of objects from the To: line, with the following properties:
personal, adl, mailbox, and host
o fromaddress - full from: line, up to 1024 characters
o from - an array of objects from the From: line, with the following properties:
personal, adl, mailbox, and host
o ccaddress - full cc: line, up to 1024 characters
o cc - an array of objects from the Cc: line, with the following properties:
personal, adl, mailbox, and host
o bccaddress - full bcc: line, up to 1024 characters
o bcc - an array of objects from the Bcc: line, with the following properties:
personal, adl, mailbox, and host
o reply_toaddress - full Reply-To: line, up to 1024 characters
o reply_to - an array of objects from the Reply-To: line, with the following properties:
personal, adl, mailbox, and host
o senderaddress - full sender: line, up to 1024 characters
o sender - an array of objects from the Sender: line, with the following properties:
personal, adl, mailbox, and host
o return_pathaddress - full Return-Path: line, up to 1024 characters
o return_path - an array of objects from the Return-Path: line, with the following properties:
personal, adl, mailbox, and host
o remail -
o date - The message date as found in its headers
o Date - Same as date
o subject - The message subject
o Subject - Same as subject
o in_reply_to -
o message_id -
o newsgroups -
o followup_to -
o references -
o Recent -
R if recent and seen, N if recent and not seen, ' ' if not recent.
o Unseen -
U if not seen AND not recent, ' ' if seen OR not seen and recent
o Flagged -
F if flagged, ' ' if not flagged
o Answered -
A if answered, ' ' if unanswered
o Deleted -
D if deleted, ' ' if not deleted
o Draft -
X if draft, ' ' if not draft
o Msgno - The message number
o MailDate -
o Size - The message size
o udate - mail message date in Unix time
o fetchfrom - from line formatted to fit $fromlength characters
o fetchsubject - subject line formatted to fit $subjectlength characters
SEE ALSO
imap_fetch_overview(3).
PHP Documentation Group IMAP_HEADERINFO(3)