Re: [PATCH v2] grub-core/kern/corecmd: Quote variable values when displayed by the set command

2022-08-22 Thread Glenn Washburn
On Sat, 20 Aug 2022 01:07:35 +0200 Daniel Kiper wrote: > On Fri, Aug 19, 2022 at 05:38:24PM -0500, Glenn Washburn wrote: > > Variable values may contain spaces at the end or newlines. However, when > > displayed without quotes this is not obvious and can lead to confusion as > > to the actual con

Re: [PATCH v2] grub-core/kern/corecmd: Quote variable values when displayed by the set command

2022-08-19 Thread Daniel Kiper
On Fri, Aug 19, 2022 at 05:38:24PM -0500, Glenn Washburn wrote: > Variable values may contain spaces at the end or newlines. However, when > displayed without quotes this is not obvious and can lead to confusion as > to the actual contents of variables. Also for some variables grub_env_get() > retu

[PATCH v2] grub-core/kern/corecmd: Quote variable values when displayed by the set command

2022-08-19 Thread Glenn Washburn
Variable values may contain spaces at the end or newlines. However, when displayed without quotes this is not obvious and can lead to confusion as to the actual contents of variables. Also for some variables grub_env_get() returns a NULL pointer instead of a pointer to an empty string and previousl