Activity for jaybeers
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Comment | Post #286318 |
Wait; your answer _does_ give me an idea, though. Our systems are mostly CentOS so `annotate-output` might not be an option per se, but maybe I can rig something up based on what you've provided that pipes all the different outputs through a filter (`awk`, or something) that adds timestamps.
... (more) |
— | over 4 years ago |
| Comment | Post #286318 |
Aww, I didn't notice the order issue with Zsh; I just did a quick test to see if I had the syntax correct so I could copy/paste the same thing and try it in BASH and see if it worked; it wasn't until I had your solution that I got hopeful enough to actually write a little wrapper around it to rea... (more) |
— | over 4 years ago |
| Edit | Post #286318 | Initial revision | — | over 4 years ago |
| Question | — |
Capture separate _and_ combined stdout/stderr Using BASH, how can I redirect stdout and stderr each, to two separate files, simultaneously? That's a mouthful, let me clarify a little: I have a hypothetical script that may/will generate output on both stdout and stderr. I want to run the script and wind up with three output files: 1... (more) |
— | over 4 years ago |
