[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: any plans for command substitution that preserves trailing newlines?
From: |
konsolebox |
Subject: |
Re: any plans for command substitution that preserves trailing newlines? |
Date: |
Wed, 2 Jun 2021 07:25:25 +0800 |
On Tue, Jun 1, 2021 at 7:58 PM Greg Wooledge <greg@wooledge.org> wrote:
> Is the OP actually trying to store *binary* data in a shell variable?
> This is doomed to fail because you can't handle NUL bytes.
I considered this, but he did say "anything but NUL" so he's pretty
much aware. It's also another concern I didn't care caring about.
The information I contributed sufficed to what he asked.
--
konsolebox