I have two files: file 1
file 2:
file 2 are the search urls that is used for the partial match in file1 at column2. If it has the partial match it has to return the column 1 url with the partial match url in column 2 of file 1 like this:
Desired output:
I am using this script which can give me exact match url pattern at column 2 but cannot work with the partial match which is as follows:
What would be the easiest way to grep all files within a particular directory that match a partial filename? For example, searching all files that begin with "filename.txt" and are appended with the date they were created. I am using Ksh 88, btw. (3 Replies)
I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST
The call goes out to
http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena
The ID in the middle is always random due to the cookie.
I... (5 Replies)
egrep -iow '(http*+|www)*' url.txt
is this command logically incorrect to match a url pattern inside a file and display only the urls in the terminal???
Please rectify the error in my syntax , (2 Replies)
Hello, this is probably a simple request but I've been toying with it for a while.
I have a large list of devices and commands that were run with a script, now I have lines such as:
a-router-hostname-C#show ver
I want to print everything up to (and excluding) the # and everything after it... (3 Replies)
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Hello,
Am very new to perl , please help me here !!
I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file.
below is the script which i have written so far ,
#!/usr/bin/perl
use LWP::UserAgent;
use... (2 Replies)
In the awk below I am trying to cp and paste each matching line in f2 to $3 in f1 if $2 of f1 is in the line in f2 somewhere. There will always be a match (usually more then 1) and my actual data is much larger (several hundreds of lines) in both f1 and f2. When the line in f2 is pasted to $3 in... (4 Replies)
I have a two file as shown below,
file:1
>Contig_152_415 (REVERSE SENSE)
>Contig_152_420 (REVERSE SENSE)
>Contig_152_472 (REVERSE SENSE)
>Contig_152_484 (REVERSE SENSE)
File:2
>Contig_152:49081-49929
ATCGAGCAGCGCCGCGTGCGGTGCACCCTTGTGCAGATCGGGAGTAACCACGCGCACGGC... (2 Replies)
Discussion started by: dineshkumarsrk
2 Replies
LEARN ABOUT SUSE
image::exiftool::exif
Image::ExifTool::Exif(3) User Contributed Perl Documentation Image::ExifTool::Exif(3)NAME
Image::ExifTool::Exif - Read EXIF meta information
SYNOPSIS
This module is required by Image::ExifTool.
DESCRIPTION
This module contains routines required by Image::ExifTool for processing EXIF meta information.
AUTHOR
Copyright 2003-2010, Phil Harvey (phil at owl.phy.queensu.ca)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
REFERENCES
http://www.exif.org/Exif2-2.PDF <http://www.exif.org/Exif2-2.PDF>
<http://partners.adobe.com/asn/developer/pdfs/tn/TIFF6.pdf>
<http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf>
<http://www.adobe.com/products/dng/pdfs/dng_spec.pdf>
<http://www.awaresystems.be/imaging/tiff/tifftags.html>
<http://www.remotesensing.org/libtiff/TIFFTechNote2.html>
<http://www.exif.org/dcf.PDF>
http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html <http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html>
http://www.fine-view.com/jp/lab/doc/ps6ffspecsv2.pdf <http://www.fine-view.com/jp/lab/doc/ps6ffspecsv2.pdf>
<http://www.ozhiker.com/electronics/pjmt/jpeg_info/meta.html>
http://hul.harvard.edu/jhove/tiff-tags.html <http://hul.harvard.edu/jhove/tiff-tags.html>
<http://www.microsoft.com/whdc/xps/wmphoto.mspx>
<http://www.asmail.be/msg0054681802.html>
<http://crousseau.free.fr/imgfmt_raw.htm>
<http://www.cybercom.net/~dcoffin/dcraw/>
<http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml>
<http://community.roxen.com/developers/idocs/rfc/rfc3949.html>
http://tools.ietf.org/html/draft-ietf-fax-tiff-fx-extension1-01 <http://tools.ietf.org/html/draft-ietf-fax-tiff-fx-extension1-01>
ACKNOWLEDGEMENTS
Thanks to Matt Madrid for his help with the XP character code conversions.
SEE ALSO
"EXIF Tags" in Image::ExifTool::TagNames, Image::ExifTool(3pm)perl v5.12.1 2010-03-12 Image::ExifTool::Exif(3)