Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash read file into array

readarray -t arr <file
Source by riptutorial.com #
 
PREVIOUS NEXT
Tagged: #bash #read #file #array
ADD COMMENT
Topic
Name
6+1 =