in reply to Re: print question
in thread print question
unshift (@INC, "/db2/$DB2DBDFT/Scripts"); require 'variables.pl'; use Env;
This is declared at the top of my script, I am telling it to use Environment variables.
Works fine on Unix
I think it has to do with the USE% column because in that column there is ##% then it lists the directory. So when it sees the % in the varible $rc followed by the / of the directory it says "Error" you are trying to do printf on a / which cannot be formatted by printf.
Maybe I should be asking how to do a df command that drops the Use% column but gives me everything else?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: print question
by ikegami (Patriarch) on Jun 02, 2011 at 18:23 UTC | |
|
Re^3: print question
by toolic (Bishop) on Jun 02, 2011 at 17:57 UTC |