printf + print param and values
- by yael
I need to print the following values with printf as the follwoing around like this:
printf "[date +%d"/"%b"/"%G"-"%T] [WARN] $PARAM1 $PARAM2 $PARAM3
The required output:
[02/Jun/2010-11:08:42] [WARN] val1....val2...val3
the gap between val1 to val2 and from val2 to val3 must be const gap not depend the length of the values