Hi tachyon.
1. In the clever little script you did for me, I find that I should have asked for the GEDCOM line 1 CHAR IBM DOS to be changed to 1 CHAR ASCII
Can you please show me how to insert an amendment in your script?

2. The standard for the GEDCOM names after each 0 @Inn@ INDI is in the next line:
1 NAME First_name Middle_name/SURNAME/
The first name syntax is as shown, with the first character in Upper case.
The SURNAME between the forward slashes is in UPPERCASE, as shown.
Unfortunately, in merging many GEDCOM files from various genealogists, we end up with sample names like:
JOE/SLAVEN/
Joe McDonald/Slaven/
Joe McDONALD 'Macca'/SLAVEN/
/SLAVEN/
Joe
Joe/SLAV.../ (this last one when the surname is illegible)
Any chance of you please having a go at looking at each 1 NAME Firstname Middlename/SURNAME/ line and converting it to the standard syntax?

3. In selecting the name of the output file, how do I go about naming it as the original input file name filename.ged, but with PAF added, as in filenamePAF.ged My best wishes
Joe, Townsville, Australia


In reply to Converting GEDCOM files by Joes
in thread Converting GEDCOM files by Joes

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.