echo "abc def gfh ijk"| sed "s:\ :\n:g" |grep -w gfh
echo "aaa bbb ccc" > test.txt echo "ddd eee fff" >> test.txt
for line in $(cat test.txt) do echo $line done
cat test.txt| while read line do echo $line done
# find . -name "*.html" -o -name "*.php" -o -name '*.dwt' -printf "[%p] " -exec grep -c 'head' {} \; | grep -v "0$" |more