echo "This script helps to display a file word by word"
for i in `cat FILES.txt`
do
echo $i
done
echo "--------------------------------------------------"
echo "This script helps to display a file line by line"
n=`wc -l ‹ FILES.txt`
i=1
while [ "$i" -le "$n" ]
do
line= cat FILES.txt | head -$i | tail -1
echo $line
i=`expr $i + 1`
#echo $i
#echo "$i" -le "$n"
done
1 comment:
Hi Kaarthik,
I found your blog searching for something on google. I am the admin of a Oracle Club which has several sections dedicated to Oracle Apps Technical and Functional.
I would like to know if you would be interested in writing articles on my site and participating in the forums.
The Site URL is:
http://www.club-oracle.com
Mail me at admin[at]club-oracle[dot]com, if you are interested.
Regards,
Sadik Bhimani
Post a Comment