Red de conocimiento informático - Problemas con los teléfonos móviles - Shell procesa el código fuente html

Shell procesa el código fuente html

Esto es demasiado simple, lo escribiré para ti.

#!/bin/bash

echo " " gtindex.html

echo" lthtml gt lthead gt lttitle gtMi navegador de imágenes HTMLlt/title gt; lt/ head gt; lt text> gt gtindex.html

Para f en 'ls*.jpg'; hacer

echo "ltimg src=\"$f\ "/> gt gtindex .html

Completo

Para f en 'ls * . BMP'; hacer

Echo" ltimg src=\"$ f\"/> gt gtindex .html

Completo

Para f en 'ls * .gif'; hacer

echo" ltimg src=\ "$f\"/> gt gtindex .html

Completo

Echo" lt/body gt; lt/html > gt gtindex.html

Recuerda Dame puntos.