Hacker News new | ask | show | jobs
by jeffbee 1920 days ago
Is there any locale in which » is a shell metacharacter? Or is the set of shell metas fixed regardless of locale?
2 comments

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...

It's a quoting character, so any environment that intends to use » semantically would probably not use it as a redirection character
Right, I was wondering if locales can influence the set of thing that behave as if they were ascii "