Re:Do not use redirection characters in your shell prompt
by jeffbee on Wednesday March 17, 2021 @11:44AM
(#26492768)
Is there any locale in which » is a shell metacharacter? Or is the set of shell metas fixed regardless of locale?
[ Parent
| on HN ]
Re:Do not use redirection characters in your shell prompt
by stonesweep on Wednesday March 17, 2021 @12:26PM
(#26493362)
It was defined by POSIX [1] - of course anyone can extend POSIX functionality (and does), however I'm personally unaware of a locale which would break this specific convention / definition as it would almost assuredly break a lot of scripts in the world.
[1] https://pubs.opengroup.org/onlinepubs/009604499/utilities/xc...