bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25388: Bug in ls, kills existing scripts reading "ls" -1 as input


From: Andreas Schwab
Subject: bug#25388: Bug in ls, kills existing scripts reading "ls" -1 as input
Date: Sun, 08 Jan 2017 10:02:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux)

On Jan 06 2017, L A Walsh <address@hidden> wrote:

> The new ls doesn't maintain backwards compatibility.
> The default options now add extraneous quotes to
> some filenames.
>
> Anyplace one uses 'ls -1' to read 1 file/line
> now breaks.
>
> This is a regression as it breaks existing
> scripts and behavior.

Does it?

$ touch 'a b'
$ ls -1 | grep "'"

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]