#!/bin/bash
# Пример for
# for FILES in ~/.bash_*
for FILES in ~/.bash_*
do
  echo "<HTML>" > $FILES.html
  echo "<HEAD><TITLE>$FILES</TILTLE></HEAD>" >> $FILES.html
  echo "<BODY><PRE>" >> $FILES.html
  cat  $FILES >> $FILES.html
  echo "</PRE></BODY></HTML>" >> $FILES.html
  chmod a+r $FILES.html
done
exit 0  