On Wed, Jul 27, 2022 at 01:55:58PM +0200, Alexander Hall wrote:
> On a sidenote, the
> 
>     _nl=$(echo)
> 
> in fw_update.sh is AFAICT deceitful and moot, since ksh strips away trailing 
> linefeeds. Use the uglier
> 
>     _nl='
> '
> 
> instead.

Correct:

        $ _nl=$(echo)
        $ printf '%s' "$_nl"
        $ _nl='             
        > '
        $ printf '%s' "$_nl"

        $ printf '\n'

        $

Reply via email to