Hi Haelwenn, On Sat, Mar 08, 2025 at 06:46:15PM +0100, Haelwenn Monnier wrote: > > This sounds reasonable. It's a real feature, and not just an alias for > > 2>/dev/null. As long as it's well specified and all implementations > > either already behave like that or are willing to move, I guess it's > > fine. > > > > > > Have a lovely day! > > Alex > > Checked the code of the tree main BSDs: > - OpenBSD: -q is similar to 2>/dev/null as it's handled in a fatal error > message wrapper > - NetBSD & FreeBSD: -q is similar to 2>/dev/null, would simplify their code > to not quiet error messages from -t handling
Thanks for the research! Then I'm worried that I oppose standardization of -q, unless the BSD maintainers come here and explicitly agree to this. POSIX should not impose such a change to conform to one implementation, unless it's clear that the others are broken. > Note: BSD 4.x didn't have mktemp(1), it first appeared in NetBSD 1.5 & > OpenBSD 2.1 Have a lovely day! Alex -- <https://www.alejandro-colomar.es/>
signature.asc
Description: PGP signature