Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: find common data in multiple files

by poj (Monsignor)
on Dec 31, 2017 at 09:18 UTC ( #1206469=note: print w/replies, xml ) Need Help??


in reply to Re^4: 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 ?

poj

Replies are listed 'Best First'.
Re^6: find common data in multiple files
by mao9856 (Sexton) on Jan 01, 2018 at 05:08 UTC

    "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.

      "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://1206469]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2018-07-20 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (435 votes). Check out past polls.

    Notices?