sh scripting question

Polytropon freebsd at edvax.de
Fri Oct 16 13:09:49 UTC 2020


On Fri, 16 Oct 2020 05:47:57 +0200, Ralf Mardorf wrote:
> To me already "FreeBSD is great.txt" isn't a good file name, I would
> name it       "freebsd_is_great.txt", but that's just me. However,
> naming it    " FreeBSD is great.txt ", would be just stupid.

But valid. :-)

You can easily have filenames with "false positives" (read:
homographs) using UTF-8, where a dot isn't a dot, a space
isn't a space, a hyphen isn't a hyphen, where invisible
characters are included at arbitrary places, and then make
the whole thing look innocent, like "Alice & Bob @ the beach
in summer [2020], good weather (1).xls.jpg.exe". ;-)

And as you know, stupid people tend to actually _do_ stupid
things, especially when they have access to a computer. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list