Re: Long filenames in DOS/Windows and Unix/Linux

Liste des GroupesRevenir à cu shell 
Sujet : Re: Long filenames in DOS/Windows and Unix/Linux
De : nunojsilva (at) *nospam* invalid.invalid (Nuno Silva)
Groupes : comp.unix.programmer comp.unix.shell
Date : 01. Sep 2024, 10:10:00
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb17gp$1e0k4$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
On 2024-09-01, Lawrence D'Oliveiro wrote:

I wrote:
>
If you avoid newlines in filenames, Posix shells can cope with anything
else if you set “IFS=$'\n'”.
>
Sorry, no, it looks like the “$'...'” syntax for string literals is not
from Posix, it’s a Bash-ism.
>
I think it’s still possible to assign a newline to $IFS, it just takes a
bit more work.

Perhaps using the printf utility? It is in IEEE 1003.1 (p3049 in -2008).

--
Nuno Silva

Date Sujet#  Auteur
1 Sep 24 * Re: Long filenames in DOS/Windows and Unix/Linux9Lawrence D'Oliveiro
1 Sep 24 +* Re: Long filenames in DOS/Windows and Unix/Linux7Lawrence D'Oliveiro
1 Sep 24 i+- Re: Long filenames in DOS/Windows and Unix/Linux1Nuno Silva
1 Sep 24 i+- Re: Long filenames in DOS/Windows and Unix/Linux1Helmut Waitzmann
1 Sep 24 i+- Putting arbitrary characters into the shell command line (was: Long filenames in DOS/Windows and Unix/Linux)1Helmut Waitzmann
3 Sep 24 i+* Re: Long filenames in DOS/Windows and Unix/Linux2Wayne
3 Sep 24 ii`- Re: Long filenames in DOS/Windows and Unix/Linux1Lawrence D'Oliveiro
8 Sep 24 i`- Re: Long filenames in DOS/Windows and Unix/Linux1Janis Papanagnou
1 Sep 24 `- Arbitrary characters in filenames (was: Long filenames in DOS/Windows and Unix/Linux)1Helmut Waitzmann

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal