sffiim

1. zap all 2.25
2. split
3. spec chrs - IK:SOI\n\nGesellschaft Society
4. existing-tags:preserve/zap
5. individ datasets -action add/replace zap append
6. stuff_ one param zd-idx if NO use thsrec
7. stuff - paxs or pIIM ??
8. stuff loop split
9. -D display adds AFTER
10. ignore -D on -a or -z

    sffiim

Display one or all datasets in an IIM file
or
write the contents of a single IIM dataset to an existing file

If there is a parameter file (in tables/setup),
    tag:2,100   data:Hello - \JH
        Save 'Hello - \JH' into the  contents of record 2, dataset 100

    action: a/z
        a - add data to these tags
        z - zap these tags

sffiim -z IIM_FIPSEQ.DEF -o /tmp/iim/TMP.w4.4317.out -H /tmp/iim/TMP.w4.4317.fh
-i  /tmp/iim/TMP.w4.4317.iim | tee /tmp/IIM-x

Input Parameters are :

Mandatory :
    -i : input file name            default: none
        this is either a jpeg or an IIM 8BIM block
Either
    -z : optional parameter file    default: none
        containing FipSeq to fill in tag data
Or
    -a : add this tag as in -a 2.51     default: no additions
        this will also replace an existing tag
Or
    -r : remove/zap this tag as in -r 2.51  default: no zaps
Or
    -d : display this tag           default: display all tags (same as -D)
        -d 2.103
Or
    -D : display all tags           default: this is the default, if no -a or -r or -d

Optional
    -C : display all 8BIM and sizes     default: no
    -h : extra FipHdr           default: none
    -H : file containing extra fiphdr to be used in the FipSeq  default: none
        (data of this file is ignored if there is any)
    -o : output file name           default: none
    -Q : quiet - use with -a and DO not display anything
    -s : string to insert in FipSeq     default: none
    -X : title - default 2.5 tag for a new 8BIM default: Fip
    -Z : sequence number file if not default
        -Z INWAY
    -v : version number             default: no

Version Control
;02a     7mar22 added RDJPGCOM style fiphdr <-> tag
;01a-d   4aug15 exif better
;00i    01dec03 original vershun
    ;ef 01sep09 added -C and Extended size tag support
    ;g 15jul11 added -Q and strip padding chr when adding an extra field on the
end
    ;h filter ;i allow tags to be out of sequence

(copyright) 2022 and previous years FingerPost Ltd.