DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
read file using shell script
#!/bin/bash input="/path/to/txt/file" while IFS= read -r line do echo "$line" done < "$input"
Source by www.cyberciti.biz #
PREVIOUS
NEXT
Tagged:
#read
#file
#shell
#script
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit