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 -- Oğuz