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

Fixed file parameter that has strings with spaces - Parsing Issue #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivan-the-terrible
Copy link

@ivan-the-terrible ivan-the-terrible commented Nov 22, 2023

As per this open Issue: #33

I commented the following solution:
#33 (comment)

On the entrypoint.sh script, the files are evaluated within a loop:
for entry in $INPUT_FILES; do

This has the unfortunate outcome of splitting strings via spaces, BUT you can change the way it should split by updating the Internal Field Separator.
So the solution is:

IFS='
' && for entry in $INPUT_FILES; do

image

@ivan-the-terrible ivan-the-terrible marked this pull request as ready for review November 22, 2023 20:06
@ivan-the-terrible ivan-the-terrible changed the title Fixed strings with spaces parsing issue Fixed file parameter that has strings with spaces - Parsing Issue Nov 22, 2023
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.

None yet

1 participant