Bash Read a file (data stream, variable) line-by-line (and/or field-by-field)?

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Parameters

ParameterDetails
IFSInternal field separator
fileA file name/path
-rPrevents backslash interpretation when used with read
-tRemoves a trailing newline from each line read by readarray
-d DELIMContinue until the first character of DELIM is read (with read), rather than newline


Got any Bash Question?