Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^6: find common data in multiple files

by mao9856 (Sexton)
on Jan 01, 2018 at 05:08 UTC ( #1206501=note: print w/replies, xml ) Need Help??


in reply to Re^5: find common data in multiple files
in thread find common data in multiple files

"Do all your 25 filenames start pm_1206312_in and if not what are they like ?" All 25 files ends with .txt and starts with 4_os_ The middle part is different for all 25 files. as an example 4_os_abc.txt, 4_os_def.txt...so on.

  • Comment on Re^6: find common data in multiple files

Replies are listed 'Best First'.
Re^7: find common data in multiple files
by AnomalousMonk (Chancellor) on Jan 01, 2018 at 05:56 UTC
    "Do all your 25 filenames start pm_1206312_in and if not what are they like ?"

    I think poj's original question was intended to provoke thought. If the glob pattern you're using is  'pm_1206312_in*' no file with a pattern  '4_os_*.txt' will be matched. Please see the documentation for glob and links therefrom for information on constructing glob filename patterns.


    Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1206501]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2018-02-25 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (312 votes). Check out past polls.

    Notices?