←back to thread

217 points tanelpoder | 5 comments | | HN request time: 1.012s | source
1. hebz0rl ◴[] No.26492453[source]
I use » instead which has been working well for me (zsh + alacritty on archlinux)
replies(1): >>26492768 #
2. jeffbee ◴[] No.26492768[source]
Is there any locale in which » is a shell metacharacter? Or is the set of shell metas fixed regardless of locale?
replies(2): >>26493362 #>>26494287 #
3. stonesweep ◴[] No.26493362[source]
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...

4. kaslai ◴[] No.26494287[source]
It's a quoting character, so any environment that intends to use » semantically would probably not use it as a redirection character
replies(1): >>26494326 #
5. jeffbee ◴[] No.26494326{3}[source]
Right, I was wondering if locales can influence the set of thing that behave as if they were ascii "