Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Greg Wooledge Newsgroups: gnu.bash.bug Subject: Re: read and inconsistent handling of trailing null field? Date: Wed, 29 Jan 2020 10:25:30 -0500 Lines: 7 Approved: bug-bash@gnu.org Message-ID: References: <122693AD-B562-43A5-BE64-58B02C72B6EA@gmail.com> <20200129152530.GC1350@eeg.ccf.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1580311536 12564 209.51.188.17 (29 Jan 2020 15:25:36 GMT) X-Complaints-To: action@cs.stanford.edu Cc: "bash.bug list" To: Clint Hepner Envelope-to: bug-bash@gnu.org Mail-Followup-To: Clint Hepner , "bash.bug list" Content-Disposition: inline In-Reply-To: <122693AD-B562-43A5-BE64-58B02C72B6EA@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 139.137.100.1 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20200129152530.GC1350@eeg.ccf.org> X-Mailman-Original-References: <122693AD-B562-43A5-BE64-58B02C72B6EA@gmail.com> Xref: csiph.com gnu.bash.bug:15839 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