Skip to content

Fix funny filenames #56

Merged
merged 2 commits into from
May 10, 2023
Merged

Fix funny filenames #56

merged 2 commits into from
May 10, 2023

Conversation

donald
Copy link
Contributor

@donald donald commented May 10, 2023

Allow backslash and leading and trailing whitespace in image filenames.

Fixes #55

Use `read -r` to avoid interpreting backslash when reading the file
list.
@pmenzel
Copy link
Contributor

pmenzel commented May 10, 2023

Thank you for fixing this. Two nits in the commit message:

It's not unlikely that other compontent of bee fail on filenames with trainling spaces

components and trailing

Set IFS to the empty string when reading the filenames to avoid leading
or trailing whitespace to be stripped from the name.

It's not unlikely that other components of bee fail on filenames with
trailing spaces, too, but that is not a reason to keep the bug in this
tool.
@donald donald merged commit a308312 into master May 10, 2023
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bee to supid for filenames with backslash in it
2 participants