My programing World
A collection of programs and interview questions
Saturday, August 16, 2014
Read a file line by line in unix - bash
#!/bin/bash
FILE=input.txt
while read line
do
echo $line
done< $FILE
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment