On Wednesday, August 27, 2025, Kevin Pulo <kevin.p...@mongodb.com> wrote:
>
> I now have a use case which involves various combinations of command
> pipelines,
> with output sometimes stored in shell variables for inspection, before
> being
> finally output or fed into later pipelines.  Bash is well suited for this,
> but
> in my use case:
>
> 1. The text input/output protocol between the various programs is line
> oriented, and sensitive to trailing newline stripping (ie. they should be
> preserved).  (Briefly, each line is an independent input containing zero or
> more space-separated words, and an empty line with no words still means
> something specific and must be processed as usual.  I can go into more
> detail
> if required.)
>

I'm not against the proposed changes here but if this were me I'd store the
command output in a temporary file and inspect that instead.


-- 
Oğuz

Reply via email to