Hi Friends,
Can any one help me with merging these file based on two columns :
File1:
A|123|99|SAMS
B|456|95|GEORGE
D|789|85|HOVARD
File2:
S|123|99|NANcY|6357
S|123|99|GREGRO|83748
A|456|95|HARRY|827|somers
S|456|95|ANTONY|546841|RUDOLPH|7263
B|456|95|SMITH|827|BOISE STATE|834... (3 Replies)
Hi,
I have file1.txt and file2.txt and would like to create file3.txt based on one column in UNIX
Eg:
file1.txt
17328756,0000786623.pdf,0000786623
20115537,0000793892.pdf,0000793892
file2.txt
12521_74_4.zip,0000786623.pdf
12521_15_5.zip,0000793892.pdf
Desired Output
... (5 Replies)
Hi All,
I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations:
1. I am restrained to 2 input files only.
2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
Hi Guys,
After windows died on my netbook I installed Lubuntu and discovered Gawk about a month ago. After using Excel for 10+ years I'm amazed how quick and easily Gawk can process data but I'm stuck with a little problem merging data from multiple lines.
I'm an SEO Consultant and provide... (9 Replies)
I've been a Unix admin for nearly 30 years and never learned AWK. I've seen several similar posts here, but haven't been able to adapt the answers to my situation. AWK is so damn cryptic! ;)
I have a single file with ~900 lines (CSV list). Each line starts with an ID, but with different stuff... (6 Replies)
Hi Friends,
I have a file
file1.txt
1|ABC|3|jul|dhj
2|NHU|4|kil|eu
3|hjd|34|hfd|43
file2.txt
1||3|KING|dhj
2|NHU||k|
3|hjd|34|hd|43
i want to merge file1.txt file2.txt based on the column null values in file2.txif there are any nulls in column values , (5 Replies)
Hi, I am trying to selectively merge two files based on keys reported in the 1st column.
File1:
#file1-header1
file1-header2
111 qwe rtz uio
198 asd fgh jkl
165 yxc
789 poi uzt rew
89 lkj
File2:
#file2-header2
file2-header2
165 ghz nko2 ... (2 Replies)
Hi,
I am struggling with the an awk command to merge two files based on a common key.
I want to append the value from File2 ($2) onto the end of File1 where $1 from each file matches - If no match then nothing is apended
File1
COL1|COL2|COL3|COL4|COL5|COL6|COL7... (3 Replies)
Join and merge multiple files with duplicate key and fill void columns
Hi guys,
I have many files that I want to merge:
file1.csv:
1|abc
1|def
2|ghi
2|jkl
3|mno
3|pqr
file2.csv: (5 Replies)
Discussion started by: yjacknewton
5 Replies
LEARN ABOUT DEBIAN
cpants_lint
CPANTS_LINT(1p) User Contributed Perl Documentation CPANTS_LINT(1p)NAME
cpants_lint - commandline frontend to Module::CPANTS::Analyse
SYNOPSIS
cpants_lint path/to/Foo-Dist-1.42.tgz
Options:
--help brief help message
--man full documentation
--verbose print more info during run
--no_capture don't turn on capturing of STDERR and STDOUT
--dump dump result using Data::Dumper
--yaml dump result as YAML
--to_file dump result to a file
--dir directory to dump files to
DESCRIPTION
"cpants_lint" checks the Kwalitee of CPAN distributions. More exact, it checks how a given tarball will be rated on
"http://cpants.perl.org", without needing to upload it first.
"cpants_lint" is also used by "cpants.perl.org" itself to check all dists on CPAN.
For more information on Kwalitee, and the whole of CPANTS, see "http://cpants.perl.org" and / or "Module::CPANTS::Analyse".
OPTIONS
If neither "--dump" nor "--yaml" are used, a short text describing the Kwalitee of the distribution and hints on how to raise Kwalitee will
be displayed. The format of this text can change anytime, so don't use it for any automated processing!
--help
Print a brief help message.
--man
Print manpage.
--verbose
Print some informative messages during testing of dists.
--no_capture
Turn off capturing of STDOUT and STDERR. Mostly useful during debugging / development of new features.
If "--no_capture" is used, the value of "cpants_error" might be wrong.
--dump
Dump the result using Data::Dumper
--yaml
Dump the result as YAML.
--to_file
Output the result into a file instead of STDOUT.
The name of the file will be Foo-Dist.yaml (well, the extension depends on the dump format and can be ".yaml", ".dump" or ".txt")
--dir
Directory to dump files to. Defaults to the current working directory.
AUTHOR
Thomas Klausner <https://metacpan.org/author/domm>
COPYRIGHT AND LICENSE
Copyright X 2003X2006, 2009 Thomas Klausner <https://metacpan.org/author/domm>
You may use and distribute this module according to the same terms that Perl is distributed under.
perl v5.14.2 2012-06-08 CPANTS_LINT(1p)