Link to home
Start Free TrialLog in
Avatar of Jasmin shahrzad
Jasmin shahrzad

asked on

awk variable in printf

how to use 2 variable here
begin{
printf("set echo off\n\
 spool /u01/oracle/scripts/%s/%s_table.sql\n",new)
     }

output must be (new variable = test)
set echo off
spool /u01/oracle/scripts/test/test_table.sql
ASKER CERTIFIED SOLUTION
Avatar of Jasmin shahrzad
Jasmin shahrzad

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial