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

Part file naming problem. #26

Open
Kirtai opened this issue Jun 14, 2023 · 0 comments
Open

Part file naming problem. #26

Kirtai opened this issue Jun 14, 2023 · 0 comments

Comments

@Kirtai
Copy link

Kirtai commented Jun 14, 2023

When dumping a wud (or wux over a certain size), the part names go from single to double digits.

This causes a hard to spot problem when joining the part files using cat(1) on linux. The part files get joined in the wrong order.

cat game.wud.part* > game.wud

joins them in the order 1, 10, 11, 12, 2, 3, ...

(lexical order instead of numeric order)

Would it be possible to change the part file naming so they always end in two digits?
This would prevent people getting caught by this in the future.

i.e.

game.wud.part01
game.wud.part02
...
game.wud.part11
game.wud.part12

instead of

game.wud.part1
game.wud.part2
...
game.wud.part11
game.wud.part12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant