Re: Why is STDERR the default output?
Eberhard W Lisse <[email protected]> Sat, 26 Jul 2025 13:32:24 +0200
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <f3818044-02f5-4a1d-95d7-0e6f8d5fb5ed@Spark> |
I use /usr/local/bin/unison -ui text -batch -terse profilename in my scripts and don't seem to get these, but then on Linux and MacOs there is always 2>/dev/ null -- Sent from my iPhone On Jul 26, 2025 at 12:41 +0200, Greg Troxel <[email protected]>, wrote: > Glenn Morse <[email protected]> writes: > > > > Huh, somehow I've never managed to use those in a way that their > > output stream mattered, that's interesting! > > > > I can certainly believe that. It's really how they fit in the larger > ecosystem of commands that can be used in pipes. For example awk, grep. > > > > I don't really *mind* that unison isn't using the "normal" 0/1/2 > > ordered streams, but as you say, a note somewhere in the documentation > > would be nice! I did bang my head against the desk for a bit while I > > tried to figure out if I'd suddenly had a stroke that only made me > > forget how to redirect output. I get that a lot. > > > > I think it is using the normal way, but an alternative view is that > unison's interactive output is like a text editor. If someone wants to > dig in and bring up a possible change on unison-hackers, it would be > interesting to see what everyone thinks. Still, there is going to to be > effort imposed on many by a change. And, without someone willing to do > the work to make the changes, nothing is going to happen anyway. > > I agree this is a doc bug: > https://urldefense.com/v3/__https://github.com/bcpierce00/unison/issues/1137__;!!IBzWLUs!VEH0cn0dQcU5EMT2XruVKMILD_INUqiCPZOavH2NQDAhKGLDdx2yW5iT-worC4OVm8LIoZxuop5i7kDKsw$ > > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].