Sujet : Re: Case Insensitive File Systems -- Torvalds Hates Them
De : nunojsilva (at) *nospam* invalid.invalid (Nuno Silva)
Groupes : comp.os.linux.miscDate : 02. May 2025, 09:24:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vv1vf2$mnun$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
On 2025-05-02, Lawrence D'Oliveiro wrote:
On 2 May 2025 17:18:10 +1000, Computer Nerd Kev wrote:
>
For one thing it makes shell scripting complicated ...
>
This may be true of a straight POSIX shell, but there are techniques for
coping with arbitrary filenames in Bash, just for example.
>
... and for another this is just really confusing ...
>
Just tried it:
>
ldo@theon:try> touch file1 file2$'\n'file3 file4
ldo@theon:try> ls -1
file1
'file2'$'\n''file3'
file4
ldo@theon:try> ls -1 --quoting-style=literal
file1
file2?file3
file4
ldo@theon:try> rm file*
ldo@theon:try> cd ..
ldo@theon:hack> rmdir try
>
Wasn’t so bad, was it?
That (at least defaulting to that escaped/quoted output) was a recent
change in GNU ls, wasn't it?
-- Nuno Silva