for each variable you wish to pass to awk you will need to do something like
awk -v ORACLE_HOME=$ORACLE_HOME ' {script} '
awk doesn't use the $ syntax, so if you wanted to
print "${ORACLE_HOME}/bin/sqlldr safety/safety@dwhdev.world \"
it would be
print ORACLE_HOME "/bin/sqlldr...
Hey Guys,
I know this was posted a while ago, but it was something i was scratching my head with for the past day or two, so it was a relief to find that i wasn't the only one.
I don't know how much you might have evolved this, but i've quickly built up the basic part of this script into...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.