Liste des Groupes | Revenir à col misc |
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?
Les messages affichés proviennent d'usenet.