Sponsored Content
Top Forums Shell Programming and Scripting Request to check: find common and write before it Post 302673685 by manigrover on Wednesday 18th of July 2012 08:50:43 AM
Old 07-18-2012
Request to check: find common and write before it

Hi all,

I have 2 big files with such kind of inputs

File I
Quote:
CAD wer
CAD hfd
RA dfg
RA ejkhfr
HT wer
HT dfg
CD jgh
CD wer
T1D wer
T2D wer
BD wer
File II

Quote:
wer
dfg
jgh
ejkhr

I want the output file shuld contain

Quote:
wer HT,CAD,CD,T1D. T2D,BD
hfd CAD
fg HT,RA
jgh CD
ejkhfr RA
Please let me knw scripting regarind this
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Request to check:find out common entries

I have to compare 2 files which means 2 files with common entries in same column and separate those common entries in a diferent file as well right before those entries common so that I can separat common and Uncommon entries in rows in 2 different files. Is it possible For eg. one file ... (3 Replies)
Discussion started by: manigrover
3 Replies

2. Shell Programming and Scripting

Request to check:remove entries more than once

Hi I have a file like this 1234 2345 567889 567889 2345 234899420 83743 2345 67890 67890 ................ so on I want to delete entries which are more than once like 2345, 567889 and 67890 so that these appear once (4 Replies)
Discussion started by: manigrover
4 Replies

3. Web Development

Request to check:PHP help hw to proceed

Hi I am new to PHP. I have to changed a website design adn add certain features and lnks which shuld direct it towards other website. Can any body help me how to proceed. I have some already made templates to do this. I am conpletely new.. So, I have to first install Php from... (0 Replies)
Discussion started by: manigrover
0 Replies

4. Shell Programming and Scripting

Request to check: Not printing all entries

Dear all, I am facing one problem in my input file there are many Entries which starts from *FIELD * AV (checked the attached file) I want all the entries in the output file which start from *FIELD * AV I have written this programm but its not printing all the entries with *FIELD... (4 Replies)
Discussion started by: manigrover
4 Replies

5. Shell Programming and Scripting

Request to check:Remove duplicates

Hi all I have a file with following kind of data I want to remove duplicates according to first column so that output contains Kindly let me scripting regading this. (4 Replies)
Discussion started by: manigrover
4 Replies

6. Shell Programming and Scripting

Request to check remove duplicates but write before it

Hi alll I have a file with following kind input I want in output duplicates should not be there but there should be numbering mentioned before that like (4 Replies)
Discussion started by: manigrover
4 Replies

7. Shell Programming and Scripting

Request to check: compare two files , match same entries, write data before it

Hi all, I have 2 files:Column1 of first file has to be matched with column 3 of second file first file contain DATA like this in 2 columns one with gene name second with whether CAD,HT,RA T2Dor any one column 1 column2 ARFGEF2 CAD DDEF2 CAD PSCD3 CAD PSCD4 CAD CAMK1... (5 Replies)
Discussion started by: manigrover
5 Replies

8. Shell Programming and Scripting

Request to check:remove duplicates and write sytematically

Hi all I have a file with following input It contains 5 columns gene name drug drug ID disease approved Now the same gene is repeated many times with different data in column2,3 ,4,5 I want to arrange dat in such a way that there shuld be one entry in the column(no... (2 Replies)
Discussion started by: manigrover
2 Replies

9. Shell Programming and Scripting

Find common entries in 2 list and write data before it

Hi all, I have 2 files: second file I want if entries in one file will match in other file. It shuld wite approve before it so output shuld be (1 Reply)
Discussion started by: manigrover
1 Replies

10. Shell Programming and Scripting

Request to check:Fetch certain entries

Hi all. Kindly check it it's urgent!! I have one big file from which which I have to fetch certain data I have attached a small part of this file. from the attached file, I have to fetch and arrange data in 3 columns 1 Generic name 2. Brand names 3. Drug... (10 Replies)
Discussion started by: manigrover
10 Replies
DateTime::Locale::rw_RW(3pm)				User Contributed Perl Documentation			      DateTime::Locale::rw_RW(3pm)

NAME
DateTime::Locale::rw_RW - DateTime locale package for "rw_RW" SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'rw_RW' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Kinyarwanda Rwanda. DATA
This locale inherits from the DateTime::Locale::rw locale. It contains the following data. Days Wide (format) Kuwa mbere Kuwa kabiri Kuwa gatatu Kuwa kane Kuwa gatanu Kuwa gatandatu Ku cyumweru Abbreviated (format) mbe. kab. gtu. kan. gnu. gnd. cyu. Narrow (format) 2 3 4 5 6 7 1 Wide (stand-alone) Kuwa mbere Kuwa kabiri Kuwa gatatu Kuwa kane Kuwa gatanu Kuwa gatandatu Ku cyumweru Abbreviated (stand-alone) mbe. kab. gtu. kan. gnu. gnd. cyu. Narrow (stand-alone) 2 3 4 5 6 7 1 Months Wide (format) Mutarama Gashyantare Werurwe Mata Gicuransi Kamena Nyakanga Kanama Nzeli Ukwakira Ugushyingo Ukuboza Abbreviated (format) mut. gas. wer. mat. gic. kam. nya. kan. nze. ukw. ugu. uku. Narrow (format) 1 2 3 4 5 6 7 8 9 10 11 12 Wide (stand-alone) Mutarama Gashyantare Werurwe Mata Gicuransi Kamena Nyakanga Kanama Nzeli Ukwakira Ugushyingo Ukuboza Abbreviated (stand-alone) mut. gas. wer. mat. gic. kam. nya. kan. nze. ukw. ugu. uku. Narrow (stand-alone) 1 2 3 4 5 6 7 8 9 10 11 12 Quarters Wide (format) igihembwe cya mbere igihembwe cya kabiri igihembwe cya gatatu igihembwe cya kane Abbreviated (format) I1 I2 I3 I4 Narrow (format) 1 2 3 4 Wide (stand-alone) igihembwe cya mbere igihembwe cya kabiri igihembwe cya gatatu igihembwe cya kane Abbreviated (stand-alone) I1 I2 I3 I4 Narrow (stand-alone) 1 2 3 4 Eras Wide BCE CE Abbreviated BCE CE Narrow BCE CE Date Formats Full 2008-02-05T18:30:30 = Kuwa kabiri, 2008 Gashyantare 05 1995-12-22T09:05:02 = Kuwa gatanu, 1995 Ukuboza 22 -0010-09-15T04:44:23 = Kuwa gatandatu, -10 Nzeli 15 Long 2008-02-05T18:30:30 = 2008 Gashyantare 5 1995-12-22T09:05:02 = 1995 Ukuboza 22 -0010-09-15T04:44:23 = -10 Nzeli 15 Medium 2008-02-05T18:30:30 = 2008 gas. 5 1995-12-22T09:05:02 = 1995 uku. 22 -0010-09-15T04:44:23 = -10 nze. 15 Short 2008-02-05T18:30:30 = 08/02/05 1995-12-22T09:05:02 = 95/12/22 -0010-09-15T04:44:23 = -10/09/15 Default 2008-02-05T18:30:30 = 2008 gas. 5 1995-12-22T09:05:02 = 1995 uku. 22 -0010-09-15T04:44:23 = -10 nze. 15 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Long 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Datetime Formats Full 2008-02-05T18:30:30 = Kuwa kabiri, 2008 Gashyantare 05 18:30:30 UTC 1995-12-22T09:05:02 = Kuwa gatanu, 1995 Ukuboza 22 09:05:02 UTC -0010-09-15T04:44:23 = Kuwa gatandatu, -10 Nzeli 15 04:44:23 UTC Long 2008-02-05T18:30:30 = 2008 Gashyantare 5 18:30:30 UTC 1995-12-22T09:05:02 = 1995 Ukuboza 22 09:05:02 UTC -0010-09-15T04:44:23 = -10 Nzeli 15 04:44:23 UTC Medium 2008-02-05T18:30:30 = 2008 gas. 5 18:30:30 1995-12-22T09:05:02 = 1995 uku. 22 09:05:02 -0010-09-15T04:44:23 = -10 nze. 15 04:44:23 Short 2008-02-05T18:30:30 = 08/02/05 18:30 1995-12-22T09:05:02 = 95/12/22 09:05 -0010-09-15T04:44:23 = -10/09/15 04:44 Default 2008-02-05T18:30:30 = 2008 gas. 5 18:30:30 1995-12-22T09:05:02 = 1995 uku. 22 09:05:02 -0010-09-15T04:44:23 = -10 nze. 15 04:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 kab. 1995-12-22T09:05:02 = 22 gnu. -0010-09-15T04:44:23 = 15 gnd. Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 PM 1995-12-22T09:05:02 = 9:05 AM -0010-09-15T04:44:23 = 4:44 AM Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 PM 1995-12-22T09:05:02 = 9:05:02 AM -0010-09-15T04:44:23 = 4:44:23 AM M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, M-d) 2008-02-05T18:30:30 = kab., 2-5 1995-12-22T09:05:02 = gnu., 12-22 -0010-09-15T04:44:23 = gnd., 9-15 MMM (LLL) 2008-02-05T18:30:30 = gas. 1995-12-22T09:05:02 = uku. -0010-09-15T04:44:23 = nze. MMMd (MMM d) 2008-02-05T18:30:30 = gas. 5 1995-12-22T09:05:02 = uku. 22 -0010-09-15T04:44:23 = nze. 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = kab. gas. 5 1995-12-22T09:05:02 = gnu. uku. 22 -0010-09-15T04:44:23 = gnd. nze. 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = Gashyantare 5 1995-12-22T09:05:02 = Ukuboza 22 -0010-09-15T04:44:23 = Nzeli 15 MMMMEd (E MMMM d) 2008-02-05T18:30:30 = kab. Gashyantare 5 1995-12-22T09:05:02 = gnu. Ukuboza 22 -0010-09-15T04:44:23 = gnd. Nzeli 15 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, y-M-d) 2008-02-05T18:30:30 = kab., 2008-2-5 1995-12-22T09:05:02 = gnu., 1995-12-22 -0010-09-15T04:44:23 = gnd., -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 gas. 1995-12-22T09:05:02 = 1995 uku. -0010-09-15T04:44:23 = -10 nze. yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = kab., 2008 gas. 5 1995-12-22T09:05:02 = gnu., 1995 uku. 22 -0010-09-15T04:44:23 = gnd., -10 nze. 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 Gashyantare 1995-12-22T09:05:02 = 1995 Ukuboza -0010-09-15T04:44:23 = -10 Nzeli yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 I1 1995-12-22T09:05:02 = 1995 I4 -0010-09-15T04:44:23 = -10 I3 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week Kuwa mbere SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.10.1 2010-03-19 DateTime::Locale::rw_RW(3pm)
All times are GMT -4. The time now is 11:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy