skip to main
|
skip to sidebar
Haywires
As a rookee,this is my notebook...
Thursday, September 21, 2006
shell script -- while loop read file
#!/bin/sh
# Illustrates use of a while loop to read a file
cat file | \
while read line
do
echo "Found line: $line"
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment