Sedang Disiapkan

Perl script for file handling

Hi,

I have a problem in which I have a file final.html. I want to traverse a durectory for a particular file. Situataion is like this. Path is ABC/a/c/g. it has around 100 folders in it. Search a directory which has word "*latest*" in its path.

and then from the latest go through z/x/c to file final.html. In total, i want it to go through ABC/a/c/g/*latest*/z/x/c/final.html. This way I want my perl script to search for all the 6 out of the 100 [url removed, login to view] files. Suppose the files are [url removed, login to view], [url removed, login to view], [url removed, login to view], d...[url removed, login to view]

path of file [url removed, login to view] will be somthing like : ABC/a/c/g/123_ZZ_GG_latest_ww1/z/x/c/final.html.

There is another file [url removed, login to view] which contains some text words. I want to search each text word in all a-e.html. say

The output should be a xml file. which should look like

<

model no: ZZ (which we get from path like eg from path [url removed, login to view])

type: GG

Matched word from Check,txt

>

<

Model no: ( from [url removed, login to view])

...

>

Kemahiran: HTML, Perl, UNIX

Lihat lebih lanjut: perl script file handling, perl script file, perl search script, perl get, script words, zz, word script, search for files, GG, output script, traverse, perl word html, perl xml html, text html perl, perl check directory, words script, perl output, file handling, check file, html word search, word search html, perl script text, html script search, perl directory file, html search script

Tentang Majikan:
( 0 ulasan ) mohali, United States

ID Projek: #1560106

3 freelancers are bidding on average £13/hour for this job

gangabass

I can do this for you. See PM for details.

£15 GBP / hour
(154 Ulasan)
6.0
sofina2006

Hello Sir, I can do it. Please check your PMB

£13 GBP / hour
(9 Ulasan)
3.7
vsjha18

I can do this, pls check private message.

£11 GBP / hour
(0 Ulasan)
0.0