Community
    • Login

    Replacing variable length file paths in a GEDCOM file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    44 Posts 5 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Neil SchipperN
      Neil Schipper @Alan Kilborn
      last edited by

      @alan-kilborn said in Replacing variable length file paths in a GEDCOM file:

      It’s actually old-spec, though.

      True.

      It’s actually old-spec, though. Maybe let’s call it we-didn’t-read-spec.

      I’m not so sure about that: Your original expression did pick up the total requirement. My “new and improved” one introduced the non-compliance (and my most recent is in essence the same as your original).

      Alan KilbornA 1 Reply Last reply Reply Quote 3
      • Alan KilbornA
        Alan Kilborn @Neil Schipper
        last edited by

        @neil-schipper said in Replacing variable length file paths in a GEDCOM file:

        Your original expression did pick up the total requirement.

        I think that might have been blind luck. :-)

        1 Reply Last reply Reply Quote 2
        • Paul WormerP
          Paul Wormer @Web Master
          last edited by Paul Wormer

          @web-master said in Replacing variable length file paths in a GEDCOM file:

          It took long enough on a file with 4K lines but some of the files have 1million lines!!!

          I am sorry to bud in, but I noticed that your question is about manually typing in replacement strings. Are you certain you want to do this for 1 million lines? Or is the number of lines starting with 1 FILE small enough to do the typing in a finite time span? Just curious.

          Web MasterW 1 Reply Last reply Reply Quote 0
          • Web MasterW
            Web Master @Paul Wormer
            last edited by

            @paul-wormer The replacement string is constant so it’s a one-time entry into the expression the guys have devised for me.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors