So, first off this seems like a really awesome project :slightly_smiling_face: I love me some bash :grin:. So, thank you for making this. One of my friends linked to it for something they were doing :slightly_smiling_face:
Maybe there is another reason that you didn't use mapfile before, but since you are requiring v4+ anyways ( and mapfile was released in v4). Then I think this is a slightly less complex version of the same command. Maybe you were trying to be a bit more explicit for visual understanding of how things get split up ( setting IFS and everything ), but I get the same output when I run those example commands.
Let me know if there is anything I can do to help :slightly_smiling_face: or if there is anything else I need to add ( tests, etc... ).
I look forward to looking more into this pure bash bible :grin:
So, first off this seems like a really awesome project :slightly_smiling_face: I love me some bash :grin:. So, thank you for making this. One of my friends linked to it for something they were doing :slightly_smiling_face:
Maybe there is another reason that you didn't use mapfile before, but since you are requiring v4+ anyways ( and mapfile was released in v4). Then I think this is a slightly less complex version of the same command. Maybe you were trying to be a bit more explicit for visual understanding of how things get split up ( setting IFS and everything ), but I get the same output when I run those example commands.
Let me know if there is anything I can do to help :slightly_smiling_face: or if there is anything else I need to add ( tests, etc... ). I look forward to looking more into this pure bash bible :grin: