Read a file
suggest changeRead a file, data stream, or variable line-by-line and/or field-by-field
Looping through a file line by line
Looping through the output of a command field by field
Read lines of a file into an array
Read lines of a string into an array
Looping through the output of a command line by line
Read fields of a file into an array
Read fields of a string into an array
Looping through a string line by line
Read /etc/passwd line by line and field by field
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents