Add functionality to read file word by word
This commit is contained in:
parent
823217a5a9
commit
3256560d0e
9
SpellCheckerv1.sh
Normal file
9
SpellCheckerv1.sh
Normal file
@ -0,0 +1,9 @@
|
||||
echo Enter file name
|
||||
read fname
|
||||
while read line
|
||||
do
|
||||
for word in $line
|
||||
do
|
||||
echo "word = '$word'"
|
||||
done
|
||||
done < $fname
|
Loading…
x
Reference in New Issue
Block a user