You are here iC Home > Perl > HTML-ify > Automate HTML-ify

Perl

6.4.1 Automate HTML-ify

07.10.2008
6.4 HTML-ify [  up  ] - [ a - z ] - [ search PC ] - [ top ] 6.5 sslcsr.pl

6.1   telnet
6.2   whois Interface
6.3   Perl Socket Server
6.4   HTML-ify
 6.4.1  Automate HTML-ify
6.5   sslcsr.pl
6.6   getpid Process id
6.7   LDAP
6.8   Delete old files (cleanup.pl)
6.9   Delete accident files
6.10   wikisync.pl

Shell examples

#!/bin/sh

for mytexidoc in hibye_pl hibye_cgi rawxml client_soap_array_pl

do
echo -n "$mytexidoc ... "
cp -p "$mytexidoc.txt" "$mytexidoc.html"
../htmlify.pl "$mytexidoc.html"
done

cat do_htmlify.sh

#!/bin/sh

for FILE in htmlify.pl getpid; do

        echo -n "Processing $FILE ... "
        FILE_OUT=FILE
        echo $FILE | sed "s/\./_/g" >/tmp/.foo$$
        FILE_OUT=`cat /tmp/.foo$$`.html
        rm -f /tmp/.foo$$

        cp -f -p $FILE $FILE_OUT
        ./htmlify.pl $FILE_OUT

        echo "done"

        ls -l "$FILE_OUT"
        echo
done

exit 0



Advanced search tips
6.4 HTML-ify [  up  ] - [ top ] 6.5 sslcsr.pl



[ home ] - [ search ] - [ feedback ]

copyright by reto - created with mytexi