Community
    • Login

    Replacing variable length file paths in a GEDCOM file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    44 Posts 5 Posters 9.6k Views 3 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors