First question is:
How can I insert my dynamic ip address from a file called 'add' that has only
my ip address in it into the line below where it says NOT.ON.LINE.NOW
How can I replace my
<p>My current IP address is <<B><I>NOT.ON.LINE.NOW</B></I>></p>
<p>Last automatic update: <B><I><$DateTime></B></I></p>
Next question is:
Once I insert my ip address into the above line, how do I replace the address
with another address.
<p>My current IP address is <<B><I>18.104.22.168</B></I>></p>
I need a replace type command such as: replace $1 with $2.
I found this in the sed man page but I don't know how to go about using it
Replace all occurrences of characters in string1 in the pattern
space with the corresponding characters from string2. Any charac-
ter other than a backslash or newline can be used instead of a
slash to delimit the strings. Within string1 and string2, a
backslash followed by any character other than a newline is that
literal character, and a backslash followed by an ``n'' is re-
placed by a newline character.