Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash read file line by line with spaces

while IFS= read -r; do
	echo "$REPLY"
done < test.file
 
PREVIOUS NEXT
Tagged: #bash #read #file #line #line #spaces
ADD COMMENT
Topic
Name
6+6 =