Sujet : Re: Long filenames in DOS/Windows and Unix/Linux
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.programmer comp.unix.shellDate : 01. Sep 2024, 09:03:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb13k3$1dlt4$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.160 (Toresk; )
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.