A report from the documentation maintainer
A report from the documentation maintainer
Posted Oct 29, 2016 6:39 UTC (Sat) by lsl (guest, #86508)In reply to: A report from the documentation maintainer by ianmcc
Parent article: A report from the documentation maintainer
I thought everyone sets their LC_COLLATE to C (C.UTF-8, if supported) anyway to preserve their sanity. You don't? Fire up bash and try this:
> case b in [A-Z]) echo upper;; *) echo lower;; esac
Changed your mind?
> case b in [A-Z]) echo upper;; *) echo lower;; esac
Changed your mind?
See also:
Bash (In en-US.UTF-8 locale, '*[A-Z]*' matches very oddly):
http://savannah.gnu.org/support/index.php?108609
Findutils (regex ranges [A-Z] and [a-z] ignore case):
http://savannah.gnu.org/bugs/?30327
[…]
