bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] Add shopts for trailing newlines in command substitution and


From: Oğuz
Subject: Re: [PATCH] Add shopts for trailing newlines in command substitution and here strings
Date: Wed, 27 Aug 2025 07:59:53 +0300

On Wednesday, August 27, 2025, Martin Schulte <gnu@schrader-schulte.de>
wrote:
>
> foo=$(some_command ...).
>

The idea is retaining the trailing newlines in the output of `some_command'
by leaving them behind another character while preserving its exit code.
This loses the newlines


-- 
Oğuz


reply via email to

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