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 (Archbishop) 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:  <%-{-{-{-<