Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix explode on copy level #784

Merged
merged 2 commits into from
May 29, 2024
Merged

Fix explode on copy level #784

merged 2 commits into from
May 29, 2024

Conversation

nwagner84
Copy link
Member

This change fixes splitting a record on copy level when multiple, consecutive local fields are present.

Closes: #770

Signed-off-by: Nico Wagner [email protected]

@nwagner84 nwagner84 added the C-bug Category: bug label May 28, 2024
@nwagner84 nwagner84 self-assigned this May 28, 2024
@nwagner84 nwagner84 requested a review from mschumac May 28, 2024 19:10
Copy link

@mschumac mschumac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getestet mit DUMP.txt in #770, umbenannt in DUMP.dat.

pica.770 explode copy DUMP.dat | 
pica filter "[email protected]?" -k "003@, [12].../*" | pica print

pica.770 explode local DUMP.dat | 
pica filter "[email protected]?" -k "003@, [12].../*" | pica print

Ersteres funktioniert, letzteres nicht. Nach

pica filter "[email protected]?" -k "0.../*, 101@, 2.../*" DUMP.dat -o [email protected]

funktionierte beides auf [email protected], welcher dann nur noch genau ein 1...-Feld je Lokalebene hat.

Bei Gelegenheit bitte ich noch, -k, -d und -l für pica explode hinzuzufügen, damit der zusätzliche filter-Schritt vor der Anzeige entfällt.

This change fixes splitting a record on copy level when multiple,
consecutive local fields are present.

Closes: #770

Signed-off-by: Nico Wagner <[email protected]>
@nwagner84 nwagner84 requested a review from mschumac May 29, 2024 08:27
@nwagner84 nwagner84 merged commit c41e38f into main May 29, 2024
31 checks passed
@nwagner84 nwagner84 deleted the fix-explode-copy branch May 29, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to reference fields of a given copy
2 participants