in reply to Re: substitute on file line by line not working syntax error
in thread Search and Replace line by line not working on Filehandle

original file:
# SQLNET.ORA Network Configuration File: c:\oracle\ora81\network\admin +\sqlnet.ora # Generated by Oracle configuration tools. NAMES.DEFAULT_DOMAIN = world SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES) SQLNET.AUTHENTICATION_SERVICES= (NTS)<p>
The Line SQLNET.AUTHENTICATION_SERVICES= (NTS) needs to be commented/deactived so afterwards it reads:
# Generated by Oracle configuration tools. ... # SQLNET.AUTHENTICATION_SERVICES= (NTS) ...

<id://>

Thanks
MH