Hacker News new | ask | show | jobs
by hebz0rl 1917 days ago
I use » instead which has been working well for me (zsh + alacritty on archlinux)
1 comments

Is there any locale in which » is a shell metacharacter? Or is the set of shell metas fixed regardless of locale?
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 "