Current location: Hot Scripts Forums » Programming Languages » Perl » File mgmt using perl


File mgmt using perl

Reply
  #1 (permalink)  
Old 12-20-10, 12:11 AM
anuruchi anuruchi is offline
New Member
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
File mgmt using perl

After run I do get 5 or 6 file every day ,I have a fixed file1 (where all list is given) also ,What I want that perl will read file one and get matched line from other file and write result in next column in result file ,if some line not in other file then also print that line but result will be wait in place of TRUE and FALSE
.It should be same order as given in file1 --
like -RESULT-----------------file1--file2----file 3---file4----------------------
app man TRUE FALSE TRUE TRUE
mo mi FALSE FALSE FALSE FALSE
ch chu wait TRUE TRUE TRUE
tik tok TRUE TRUE wait TRUE

file 1--
app man
mo mi
ch chu
tik tok

file 2 --Diffrent order and some of row missing

app man TRUE
tik tok TRUE
mo mi FALSE

file 3- diffrent order
app man FALSE
tik tok FALSE
mo mi TRUE
ch chu TRUE

file 4- diffrent order
app man TRUE
tik tok FALSE
mo mi TRUE


Thanks in advance
Chipmate
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl file to parse eddiet610 Perl 0 04-14-10 05:34 AM
Perl subsititution on Windows kenkanya Perl 3 07-28-09 12:23 AM
Manipulating a .txt file with Perl thabo Perl 5 04-03-09 10:35 AM
Hello all, can you help me? K4ot1K Other Languages 2 01-23-09 05:23 AM
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 03:27 AM


All times are GMT -5. The time now is 04:55 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.