Sponsored Content
Top Forums Shell Programming and Scripting Match ids and print original file Post 302777497 by nans on Friday 8th of March 2013 03:57:47 AM
Old 03-08-2013
The common column with both the files is the "position" which is the second column.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

print remaining part from the first-match within a file

Hi, i was looking for unix command(s) for : find the first occurrence of a given pattern with in a file and print the remaining part. below is an example of what i am looking for: lets say, a file named myfile.txt now, the command i am looking for will do the following (4 Replies)
Discussion started by: nurulamin862
4 Replies

2. Shell Programming and Scripting

Strings from one file which exactly match to the 1st column of other file and then print lines.

Hi, I have two files. 1st file has 1 column (huge file containing ~19200000 lines) and 2nd file has 2 columns (small file containing ~6000 lines). ################################# huge_file.txt a a ab b ################################## small_file.txt a 1.5 b 2.5 ab ... (4 Replies)
Discussion started by: AshwaniSharma09
4 Replies

3. Shell Programming and Scripting

print when column match with other file

Hello all, please help. There are two file like this: file1: 1197510.0 294777.7 9666973.0 21.6 1839.8 1197510.0 294777.7 9666973.0 413.2 2075.9 1197510.0 294777.7 9666973.0 689.3 2260.0 ... (1 Reply)
Discussion started by: attila
1 Replies

4. UNIX for Dummies Questions & Answers

Match values/IDs from column and text files

Hello, I am trying to modify 2 files, to yield results in a 3rd file. File-1 is a 8-columned file, separted with tab. 1234:1 xyz1234 blah blah blah blah blah blah 1234:1 xyz1233 blah blah blah blah blah blah 1234:1 abc1234 blah blah blah blah blah blah n/a RRR0000 blah blah blah... (1 Reply)
Discussion started by: ad23
1 Replies

5. Shell Programming and Scripting

AWK print and retain original format

I have a file with very specific column spacing formatting, I wish to do the following: awk '{print $1, $2, $3, $4, $5, $6, $19-$7, $20-$8, $21-$9, $10, $11, $12}' merge.pdb > vector.pdb but the format gets ruined. I have tried with print -f but to no avail.... (7 Replies)
Discussion started by: chrisjorg
7 Replies

6. Shell Programming and Scripting

Match and print columns in second file

Hi All, I have to match each row in file 1 with 1st row in file 2 and print the corresponding column from file2. I am trying to use an awk script to do this. For example cat File1 X1 X3 X4 cat File2 ID X1 X2 X3 X4 A 1 6 2 1 B 2 7 3 3 C 3 8 4 1 D 4 9 1 1 (3 Replies)
Discussion started by: newpro
3 Replies

7. Shell Programming and Scripting

Match ids

Hello, I have two files File 1 with 10 columns rsid position ........ xx 1:10000 File 2 position 1:10000 2:2000 .... I need to extract the IDs given in file 2(column1) from file 1 (column2) and print all columns from file1. I am trying this command (1 Reply)
Discussion started by: nans
1 Replies

8. UNIX for Beginners Questions & Answers

Count multiple columns and print original file

Hello, I have two tab files with headers File1: with 4 columns header1 header2 header3 header4 44 a bb 1 57 c ab 4 64 d d 5 File2: with 26 columns header1.. header5 header6 header7 ... header 22...header26 id1 44 a bb id2 57 ... (6 Replies)
Discussion started by: nans
6 Replies

9. UNIX for Beginners Questions & Answers

Match duplicate ids in two files

I have two text files. File 1 has 150 ids but all the ids exists in duplicates so it has 300 ids in total. File 2 has 1500 ids but all exists in duplicates so file 2 has 300 ids in total. i want to match the first occurance of every id in file 1 with first occurance of thet id in file 2 and 2nd... (2 Replies)
Discussion started by: limd
2 Replies

10. Shell Programming and Scripting

awk to print match or non-match and select fields/patterns for non-matches

In the awk below I am trying to output those lines that Match between file1 and file2, those Missing in file1, and those missing in file2. Using each $1,$2,$4,$5 value as a key to match on, that is if those 4 fields are found in both files the match, but if those 4 fields are not found then missing... (0 Replies)
Discussion started by: cmccabe
0 Replies
DateTime::Locale::de_AT(3)				User Contributed Perl Documentation				DateTime::Locale::de_AT(3)

NAME
DateTime::Locale::de_AT SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'de_AT' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for German Austria. DATA
This locale inherits from the DateTime::Locale::de locale. It contains the following data. Days Wide (format) Montag Dienstag Mittwoch Donnerstag Freitag Samstag Sonntag Abbreviated (format) Mo. Di. Mi. Do. Fr. Sa. So. Narrow (format) M D M D F S S Wide (stand-alone) Montag Dienstag Mittwoch Donnerstag Freitag Samstag Sonntag Abbreviated (stand-alone) Mo. Di. Mi. Do. Fr. Sa. So. Narrow (stand-alone) M D M D F S S Months Wide (format) Januar Februar Maerz April Mai Juni Juli August September Oktober November Dezember Abbreviated (format) Jan Feb Maer Apr Mai Jun Jul Aug Sep Okt Nov Dez Narrow (format) J F M A M J J A S O N D Wide (stand-alone) Januar Februar Maerz April Mai Juni Juli August September Oktober November Dezember Abbreviated (stand-alone) Jan Feb Maer Apr Mai Jun Jul Aug Sep Okt Nov Dez Narrow (stand-alone) J F M A M J J A S O N D Quarters Wide (format) 1. Quartal 2. Quartal 3. Quartal 4. Quartal Abbreviated (format) Q1 Q2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) 1. Quartal 2. Quartal 3. Quartal 4. Quartal Abbreviated (stand-alone) Q1 Q2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide v. Chr. n. Chr. Abbreviated v. Chr. n. Chr. Narrow v. Chr. n. Chr. Date Formats Full 2008-02-05T18:30:30 = Dienstag, 05. Februar 2008 1995-12-22T09:05:02 = Freitag, 22. Dezember 1995 -0010-09-15T04:44:23 = Samstag, 15. September -10 Long 2008-02-05T18:30:30 = 05. Februar 2008 1995-12-22T09:05:02 = 22. Dezember 1995 -0010-09-15T04:44:23 = 15. September -10 Medium 2008-02-05T18:30:30 = 05.02.2008 1995-12-22T09:05:02 = 22.12.1995 -0010-09-15T04:44:23 = 15.09.-010 Short 2008-02-05T18:30:30 = 05.02.08 1995-12-22T09:05:02 = 22.12.95 -0010-09-15T04:44:23 = 15.09.-10 Default 2008-02-05T18:30:30 = 05.02.2008 1995-12-22T09:05:02 = 22.12.1995 -0010-09-15T04:44:23 = 15.09.-010 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 = Dienstag, 05. Februar 2008 18:30:30 UTC 1995-12-22T09:05:02 = Freitag, 22. Dezember 1995 09:05:02 UTC -0010-09-15T04:44:23 = Samstag, 15. September -10 04:44:23 UTC Long 2008-02-05T18:30:30 = 05. Februar 2008 18:30:30 UTC 1995-12-22T09:05:02 = 22. Dezember 1995 09:05:02 UTC -0010-09-15T04:44:23 = 15. September -10 04:44:23 UTC Medium 2008-02-05T18:30:30 = 05.02.2008 18:30:30 1995-12-22T09:05:02 = 22.12.1995 09:05:02 -0010-09-15T04:44:23 = 15.09.-010 04:44:23 Short 2008-02-05T18:30:30 = 05.02.08 18:30 1995-12-22T09:05:02 = 22.12.95 09:05 -0010-09-15T04:44:23 = 15.09.-10 04:44 Default 2008-02-05T18:30:30 = 05.02.2008 18:30:30 1995-12-22T09:05:02 = 22.12.1995 09:05:02 -0010-09-15T04:44:23 = 15.09.-010 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 Ed (E d.) 2008-02-05T18:30:30 = Di. 5. 1995-12-22T09:05:02 = Fr. 22. -0010-09-15T04:44:23 = Sa. 15. EEEd (d. EEE) 2008-02-05T18:30:30 = 5. Di. 1995-12-22T09:05:02 = 22. Fr. -0010-09-15T04:44:23 = 15. Sa. H (H) 2008-02-05T18:30:30 = 18 1995-12-22T09:05:02 = 9 -0010-09-15T04:44:23 = 4 HHmm (HH:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 HHmmss (HH:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 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 nachm. 1995-12-22T09:05:02 = 9:05 vorm. -0010-09-15T04:44:23 = 4:44 vorm. 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 nachm. 1995-12-22T09:05:02 = 9:05:02 vorm. -0010-09-15T04:44:23 = 4:44:23 vorm. M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (d.M.) 2008-02-05T18:30:30 = 5.2. 1995-12-22T09:05:02 = 22.12. -0010-09-15T04:44:23 = 15.9. MEd (E, d.M.) 2008-02-05T18:30:30 = Di., 5.2. 1995-12-22T09:05:02 = Fr., 22.12. -0010-09-15T04:44:23 = Sa., 15.9. MMd (d.MM.) 2008-02-05T18:30:30 = 5.02. 1995-12-22T09:05:02 = 22.12. -0010-09-15T04:44:23 = 15.09. MMdd (dd.MM.) 2008-02-05T18:30:30 = 05.02. 1995-12-22T09:05:02 = 22.12. -0010-09-15T04:44:23 = 15.09. MMM (LLL) 2008-02-05T18:30:30 = Feb 1995-12-22T09:05:02 = Dez -0010-09-15T04:44:23 = Sep MMMd (d. MMM) 2008-02-05T18:30:30 = 5. Feb 1995-12-22T09:05:02 = 22. Dez -0010-09-15T04:44:23 = 15. Sep MMMEd (E d. MMM) 2008-02-05T18:30:30 = Di. 5. Feb 1995-12-22T09:05:02 = Fr. 22. Dez -0010-09-15T04:44:23 = Sa. 15. Sep MMMMd (d. MMMM) 2008-02-05T18:30:30 = 5. Februar 1995-12-22T09:05:02 = 22. Dezember -0010-09-15T04:44:23 = 15. September MMMMdd (dd. MMMM) 2008-02-05T18:30:30 = 05. Februar 1995-12-22T09:05:02 = 22. Dezember -0010-09-15T04:44:23 = 15. September MMMMEd (E d. MMMM) 2008-02-05T18:30:30 = Di. 5. Februar 1995-12-22T09:05:02 = Fr. 22. Dezember -0010-09-15T04:44:23 = Sa. 15. September mmss (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 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 (yyyy-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -010-9 yMEd (EEE, yyyy-M-d) 2008-02-05T18:30:30 = Di., 2008-2-5 1995-12-22T09:05:02 = Fr., 1995-12-22 -0010-09-15T04:44:23 = Sa., -010-9-15 yMMM (MMM y) 2008-02-05T18:30:30 = Feb 2008 1995-12-22T09:05:02 = Dez 1995 -0010-09-15T04:44:23 = Sep -10 yMMMEd (EEE, d. MMM y) 2008-02-05T18:30:30 = Di., 5. Feb 2008 1995-12-22T09:05:02 = Fr., 22. Dez 1995 -0010-09-15T04:44:23 = Sa., 15. Sep -10 yMMMM (MMMM y) 2008-02-05T18:30:30 = Februar 2008 1995-12-22T09:05:02 = Dezember 1995 -0010-09-15T04:44:23 = September -10 yQ (Q yyyy) 2008-02-05T18:30:30 = 1 2008 1995-12-22T09:05:02 = 4 1995 -0010-09-15T04:44:23 = 3 -010 yQQQ (QQQ y) 2008-02-05T18:30:30 = Q1 2008 1995-12-22T09:05:02 = Q4 1995 -0010-09-15T04:44:23 = Q3 -10 yyMM (MM.yy) 2008-02-05T18:30:30 = 02.08 1995-12-22T09:05:02 = 12.95 -0010-09-15T04:44:23 = 09.-10 yyMMdd (dd.MM.yy) 2008-02-05T18:30:30 = 05.02.08 1995-12-22T09:05:02 = 22.12.95 -0010-09-15T04:44:23 = 15.09.-10 yyMMM (MMM yy) 2008-02-05T18:30:30 = Feb 08 1995-12-22T09:05:02 = Dez 95 -0010-09-15T04:44:23 = Sep -10 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 yyQQQQ (QQQQ yy) 2008-02-05T18:30:30 = 1. Quartal 08 1995-12-22T09:05:02 = 4. Quartal 95 -0010-09-15T04:44:23 = 3. Quartal -10 yyyy (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yyyyMMMM (MMMM y) 2008-02-05T18:30:30 = Februar 2008 1995-12-22T09:05:02 = Dezember 1995 -0010-09-15T04:44:23 = September -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week Montag 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.18.2 2017-10-06 DateTime::Locale::de_AT(3)
All times are GMT -4. The time now is 06:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy