Hi,
s/#.*/##
The above is used either to indicate a substitution of a string. The "s"
indicates substitute. The rule is, that whatever you specifiy after the "s",
is the regex that you are looking for (this in the above case "#.*"). This
is then separated by a "/". Anything after is the replace parameter, ended
by a "/".
There are other switches that can be placed after the last "/", usually:
g (indicates a global search/replace)
d (delete the line)
HTH,
Thomas Adam
Please note that the content of this message is confidential between the original
sender and the intended recipient(s) of the message. If you are not an intended
recipient and/or have received this message in error, kindly disregard the content of
the message and return it to the original sender.
If you have any complaints about this message please reply to:
[EMAIL PROTECTED]
The Purbeck School E-Mail server running:
users.purbeck.dorset.sch.uk