On 9/13/20 5:59 AM, A M wrote: > Hello, I would like to submit a feature request/suggestion on Bash. (I was > told submitting to this mailing list was the right way to do it.) > > Feature request: Enable possibility of colored stderr output.
Let's separate the two cases: bash coloring its own output to stderr, which is usually warnings and errors, and output to stderr by processes bash runs. We can discard the latter case right away -- bash doesn't, and shouldn't, have any effect on another process's stderr other than redirecting it. That's something that should be left to the other process. If you really want it, you can do things outside of bash itself to achieve it. The first case is different: would there be any advantage to having bash color its own error messages? And how about other information that gets printed to stderr, like warnings or job status messages? -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/