On Sun, 23 Feb 2025, Ole Tange wrote:

> This of course has a negative effect when I restrict e.g. $PWD can only
> contain [-a-z0-9_+,.%@:/= ] and gives the bad experience

Good: [-_.a-zA-Z0-9/]
Bad: [+,=]
Ugly: ["'#!%@: ]

scp and crontab don't like the ugly ones but those characters are of
cource fully legal to use. If I saw someone using "ugly" I would ask them
if it is really necessary.

As "ugly" is "bad practice" I would throw --unsafe after an apprentice.
At least a warning is recommended.

GNU Parallel is quite good at handling quotation so a space character
should not be a problem. There could be a bug so don't go near the
edge.

And DOS don't like the "bad" ones but who cares?

Decent citizens is only using the "good" ones and one one have ever got
fired for using them.

-- 

./hans

Reply via email to