DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash read file line by line
#!/bin/bash while read line do echo $line done < /path/to/file
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#bash
#read
#file
#line
#line
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit