Skip to content

Conversation

@vagos
Copy link

@vagos vagos commented Dec 28, 2025

This has worked in my limited experimentation.
Solution might not be perfect, but might be a good starting point for someone to finish it off.

vagos added 2 commits December 2, 2025 11:38
Signed-off-by: Evangelos Lamprou <[email protected]>
Signed-off-by: Evangelos Lamprou <[email protected]>
@mgree
Copy link
Contributor

mgree commented Dec 28, 2025

This is something that is only hard because of the shell's craziness. And it's really, really hard to get right.

I don't think it's possible portably with this approach, though. If we want to try to do this, the best thing is to write each arg to its own file and generate appropriate $(cat argN) invocations... but even this will combine multiple trailing newlines.

Figured out the right approach in the car. We should thread args into both scripts using "$@". Is it okay if I push to this branch, @vagos?

@vagos
Copy link
Author

vagos commented Dec 29, 2025

@mgree Yeah, feel free to!

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

Successfully merging this pull request may close these issues.

3 participants