mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-10-24 02:08:57 +03:00
* src/printenv.c (main): Make sure quoting is disabled when we have arguments and standard output is not a terminal. * tests/misc/printenv.sh: Adjust single argument test cases. Add multiple argument test cases. * tests/misc/tty-quoting.sh: Add test cases to check if isatty is used. * doc/coreutils.texi (printenvAlwaysQuoted): Remove macro. (printenv invocation): Describe the adjusted quoting behavior. (env invocation): Move the text from printenvAlwaysQuoted here since it is no longer used for 'printenv'.