Re: 'read' sometimes truncates trailing field delimiter
From:
Greg Wooledge
Subject:
Re: 'read' sometimes truncates trailing field delimiter
Date:
Sat, 11 Jan 2025 10:49:50 -0500
User-agent:
Mutt/1.10.1 (2018-07-13)
On Sat, Jan 11, 2025 at 08:54:43 -0600, MacBeth wrote:
> It seems that `read` truncates a trailing delimiter if there is one less
> variable argument than input fields and the last field is empty (trailing
> delimiter).https://mywiki.wooledge.org/BashPitfalls#pf47
"It's a feature."