Problem reported by Michael (Bug#29946).
* src/tr.c (main): Add undocumented -A option.
atexit (close_stdout);
- while ((c = getopt_long (argc, argv, "+cCdst", long_options, NULL)) != -1)
+ while ((c = getopt_long (argc, argv, "+AcCdst", long_options, NULL)) != -1)
{
switch (c)
{
+ case 'A':
+ /* Undocumented option, for compatibility with AIX. */
+ setlocale (LC_COLLATE, "C");
+ setlocale (LC_CTYPE, "C");
+ break;
+
case 'c':
case 'C':
complement = true;