splitOnce has asked for the wisdom of the Perl Monks concerning the following question:
both files have the same lists but , what I am looking for is the size if had change ..-rw-r----- 1 sa mllan 1309064 Aug 16 12:07 wirele/pqc/bcnnnMgr.o -rw-r----- 1 sa mllan 130064 Aug 16 12:07 wirele/pqc/bcnooonnMgr.o -rw-r----- 1 sa mllan 13096064 Aug 16 12:07 wirerrrle/pqc/bcgr.o
can someone help me finding a good way to do this ,, thankswhile (<INfile>) { if $_ =~ m/\w+\.o/; $fileOne = $_; while (<INfile2>) { if $_ =~ $fileOne; $_ = $fileTwo; 'cmp $fileOne $fileTow`; } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: comparing size
by Abigail-II (Bishop) on Aug 19, 2002 at 14:15 UTC | |
Re: comparing size
by gav^ (Curate) on Aug 19, 2002 at 14:19 UTC | |
Re: comparing size
by gmpassos (Priest) on Aug 19, 2002 at 14:08 UTC | |
by Abigail-II (Bishop) on Aug 19, 2002 at 14:20 UTC | |
by gmpassos (Priest) on Aug 19, 2002 at 14:37 UTC | |
Re: comparing size
by adrianh (Chancellor) on Aug 19, 2002 at 14:23 UTC | |
by splitOnce (Acolyte) on Aug 19, 2002 at 14:48 UTC | |
Re: comparing size
by waswas-fng (Curate) on Aug 19, 2002 at 16:08 UTC | |
by adrianh (Chancellor) on Aug 19, 2002 at 16:29 UTC |