News for hackers. Stuff that matters.
Re:Groundhog: Addressing the Threat That R Poses to Reproduc... by IshKebab on Thursday January 07, 2021 @08:16AM (#25670620)
> So we are talking about software here that somehow made it to version 1.1 without anyone ever using a directory with spaces in it with it.

This is extremely common, especially on Linux. Basically anything that uses things like Bash or CMake will almost certainly not work in directories containing spaces.

Developers don't use paths containing spaces because it causes so many issues with badly written Bash scripts, and as a result they don't test their code with paths containing spaces.

Bash and CMake and similar hacked together languages have very error-prone quoting rules that make it very easy to accidentally make something work with paths without spaces but fail on paths with spaces.

Re:Groundhog: Addressing the Threat That R Poses to Reproduc... by Sebb767 on Thursday January 07, 2021 @01:23PM (#25675054)
> Developers don't use paths containing spaces because it causes so many issues with badly written Bash scripts, and as a result they don't test their code with paths containing spaces.

It is also a PITA to use when typing in a shell, as you need two characters ( \ + space ) instead of one. So even though my scripts can handle them, I still avoid them if possible.

Re:Groundhog: Addressing the Threat That R Poses to Reproduc... by benibela on Thursday January 07, 2021 @05:43PM (#25678712)
Some programs also use URLs

Today I wanted to send a screenshot by mail.

Should be simple, but with not Gnome. I make the screenshot, Gnome creates a file "Screenshot from ...", but does not tell you where. Then I search it in the file explorer, find it, copy the path. Then I paste the path in the mail program, file:///....Screenshot%20from%20. Then the mail program: "File not found"