Sunday, July 03, 2005

Three arrows


$ cat <<< Yothere
Yothere

cat <<< "$(< for.sh)"
#for(( i=1;i<6;i++))
for i in $(ls)
do
echo $i
done


I can call it extended here document .So as you can see this allows for variable subsitution as well. :)

0 Comments:

Post a Comment

<< Home