Re: [Help-bash] Is there a way to allow `read` get empty field with IFS=
From:
Daniel Mills
Subject:
Re: [Help-bash] Is there a way to allow `read` get empty field with IFS=$'\t'?
Date:
Mon, 12 Mar 2018 14:15:45 -0400
On Fri, Mar 9, 2018 at 10:55 PM, Dennis Williamson <
address@hidden> wrote:
>
>
> It's important to note that in order to include a final empty field, there
> must be two tabs at the end of the string. If there is only one, the same
> as if there were none, the array will not include a final empty element.
>
>
This can be solved in the general case by simply sticking an extra tab at
the end of the input string