Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15839

Re: read and inconsistent handling of trailing null field?

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: read and inconsistent handling of trailing null field?
Date 2020-01-29 10:25 -0500
Message-ID <mailman.35.1580311536.2384.bug-bash@gnu.org> (permalink)
References <122693AD-B562-43A5-BE64-58B02C72B6EA@gmail.com> <20200129152530.GC1350@eeg.ccf.org>

Show all headers | View raw


On Wed, Jan 29, 2020 at 10:19:55AM -0500, Clint Hepner wrote:
>     bash-5.0$ IFS== read -r n v <<< "name=var="
>     bash-5.0$ echo "$v"
>     var

https://mywiki.wooledge.org/BashPitfalls#pf47

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: read and inconsistent handling of trailing null field? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-01-29 10:25 -0500

csiph-web