mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Add extra protection for newlines that might be output to log files etc. * doc/coreutils.texi (ls invocation): Expand --literal description. * src/ls.c (quote_name_buf): Replace '\n' with '?' if appropriate. * tests/ls/dired.sh: Add a negative test case. * tests/ls/zero-option.sh: Likewise. * tests/ls/m-option.sh: Likewise. Also add a positive test case. * NEWS: Mention the improvement.