Replace escape <,> with <, >

for i in *.html.docuwiki; do perl -pi -e "s/&gt;/>/g" $i; done
for i in *.html.docuwiki; do perl -pi -e "s/&lt;/</g" $i; done
This commit is contained in:
2021-03-11 23:50:37 +00:00
parent 11889ecf9e
commit c81979dcbf
63 changed files with 573 additions and 573 deletions
+6 -6
View File
@@ -29,7 +29,7 @@ First, somewhere in your SDF directory (ex: ~/bin), create a file called **ip**
OLDIP=$(cat ~/bin/.ip)
if [ "$IP" != "$OLDIP" ] ;
then
echo "$IP" &gt; ~/bin/.ip
echo "$IP" > ~/bin/.ip
mdns "$IP"
fi
@@ -42,7 +42,7 @@ Next, execute that remote script with a SSH command from your home computer usin
"
#!/bin/ksh
ssh me@remote.host '~/bin/ip' &gt;/dev/null
ssh me@remote.host '~/bin/ip' >/dev/null
"
@@ -51,7 +51,7 @@ Standard output is directed to /dev/null because we will add this script to cron
"
#!/bin/ksh
ssh me@remote.host '~/bin/ip' &gt;&gt;$HOME/logs/ip_update
ssh me@remote.host '~/bin/ip' >>$HOME/logs/ip_update
"
@@ -104,15 +104,15 @@ It is based on the fact that your user id is the first part of the address for V
LOGNAME=${LOGNAME:-${HTTP_HOST%%.*}}
HOME=`finger $LOGNAME|awk '/^Directory:/{print $2}'`
export LOGNAME HOME
echo "`date -u +%c` $REMOTE_ADDR $QUERY_STRING" &gt;&gt;$LOGF
echo "`date -u +%c` $REMOTE_ADDR $QUERY_STRING" >>$LOGF
chmod 600 $LOGF
cat &lt;&amp;1 &gt;/dev/null ; then
cat <&amp;1 >/dev/null ; then
if [ -d "$HOME" ] ; then
if [ "$REMOTE_ADDR" = "`cat $OLDIP`" ] ; then
echo "Keeping ip at $REMOTE_ADDR"
else
$DNSCOM $REMOTE_ADDR
echo $REMOTE_ADDR &gt;$OLDIP
echo $REMOTE_ADDR >$OLDIP
fi
else echo "no $DNSCOM due to bad HOME=$HOME"
fi