bug-bash
[Top][All Lists]
Advanced

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

Re: [bug #67358] Extra space in parameter expansion with quoted strings


From: microsuxx
Subject: Re: [bug #67358] Extra space in parameter expansion with quoted strings and trailing $.
Date: Mon, 28 Jul 2025 08:05:53 +0200

... is nothing .. empty .. nonexisting .. gone .. none ..

On Mon, Jul 28, 2025, 6:57 AM Lawrence Velázquez <vq@larryv.me> wrote:

> On Sun, Jul 27, 2025, at 10:26 PM, Wiley Young wrote:
> > bash(1): "If the value of IFS is null, no word splitting occurs."
> >
> > ~ $ IFS=$'\0'
>
> Note that this is the same as
>
>         IFS=
>
> so there's no reason to use the former assignment.
>
> Also, in the context of the shell language, "null" almost always
> means "zero-length", not NUL.
>
> --
> vq
>
>


reply via email to

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