Re: Does mapfile support a multibyte character for its delimiter option?
From:
Greg Wooledge
Subject:
Re: Does mapfile support a multibyte character for its delimiter option?
Date:
Wed, 7 Jul 2021 15:52:26 -0400
On Wed, Jul 07, 2021 at 09:41:39AM -1000, Robin A. Meade wrote:
> OK, thanks Lawrence, Greg, and Chet.
>
> My current workaround is to assume UTF-8 and use a perl one-liner to
> preprocess the input, converting the multibyte delimiter character to NUL:
If perl is available, you might as well write the entire script in perl
instead of bash.