Hello Oğuz!

Am Wed, 27 Aug 2025 07:59:53 +0300 schrieb Oğuz <oguzismailuy...@gmail.com>:

> On Wednesday, August 27, 2025, Martin Schulte <g...@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

Oh, yes, sorry - I did something wrong when I tried it out...

Best regards,

Martin

Reply via email to