sorry for the late reply, this is definitely not homework.
i work on cisco platform, with some files having data close to what i asked for.
the reason i asked for a one liner is coz it needs to be incorporated in already existing script.
This is what i tried so far with no luck.
Moderator's Comments:
Please use CODE tags as required by forum rules!
Last edited by RudiC; 05-04-2018 at 04:15 PM..
Reason: Added CODE tags.
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)
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)
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)
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)
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)
I'm using the testawk.awk from the following thread
https://www.unix.com/shell-programming-and-scripting/18897-row-column-transpose.htmlI'm getting the following output
fieldname1 data1
fieldname2 data2
fieldname3 data3
How can I get like this instead
1 fieldname1 data1
2 fieldname2 data2... (1 Reply)
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)
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)
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 DEBIAN
mojomojo::controller::admin
MojoMojo::Controller::Admin(3pm) User Contributed Perl Documentation MojoMojo::Controller::Admin(3pm)NAME
MojoMojo::Controller::Admin - Site Administration
DESCRIPTION
Action to handle management of MojoMojo. Click the admin link at the bottom of the page while logged in as admin to access these functions.
METHODS
auto
Access control. Only administrators should access functions in this controller.
settings ( /.admin )
Show settings screen.
user ( .admin/user )
User listing with pager, for enabling/disabling users.
role ( .admin/role )
Role listing, creation and assignment.
create_role ( .admin/create_role )
Role creation page.
edit_role ( .admin/role/ )
Role edit page.
handle_role_form
Handle role form processing. Returns true when a submitted form was actually processed.
update_user ( *private*)
Update user based on user listing.
precompile_pages
Make a formatted version of content body and store it in content.precompiled. This makes MojoMojo go zing, when loading content for page
requests.
Depending on the number of pages, and versions of them, this could take some minutes. For 2000 page versions on a 2.4 GHz desktop this
script took about 3 minutes to run.
delete
Delete a page and its descendants. This is in MojoMojo::Controller::Admin because we are restricting page deletion to admins only for the
time being.
TODO: this method should reside in the Model, not in a Controller (issue #87).
AUTHOR
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-09-02 MojoMojo::Controller::Admin(3pm)