Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  readme2html   Sprache: Text

 

#!/bin/sh

# Crude script to convert plain READMEs to HTML

echo '<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
        "https://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<title>Title Here</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

</head>

<body>

<h1>Title Here</h1>'

sed '
 s/&/\&/g
 s/</\</g
 s/>/\>/g
' "$@" | awk '
/^====+$/ { print "<h2>" line "</h2>"; line = ""; getline; next }
NF == 0   { print line; print $0; print "<p>"; line = $0; next }
   { print line; line = $0 }
END   { print line }
'

echo '
</body>

</html>'

¤ Dauer der Verarbeitung: 0.11 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,963
#Domains=975,837