Subscribe Now
Trending News
29 Mrz 2023
ACED, Oracle, Oracle Database, Oracle Upgrade, Install and Configuration, Trivadis Blog

Awk to format the files .ora (listener.ora, tnsnames.ora, etc) 

Tired of formatting the tnsnames.ora to make it more readable, I have taken the nice awk examples from Jeremy Schneider: and created a function to format all files .ora (lisp-like config files). Example, before: $ cat tnsnames.ora LUDOCDB1_SITE2 = (DESCRIPTION = (ADDRESS = (PROTOCOL…