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


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