Brian,
Did you do a
man date
it says '+' is used to format as per the specifications
On Tue, Mar 22, 2016 at 9:34 AM, Zelli, Brian <Brian.Zelli@xxxxxxxxxxxxxxx>
wrote:
I am modifying another DBA’s script in unix. He has RUNDATE=`date
+%C%y%m%d`.
I googled and see that the +%C%y%m%d converts to 20150322 but what does
the date + do?
Using that same code, he wants me to run it from 1/30/16, so could I just
hardcode as RUNDATE = ‘20160116’?
Brian
This email message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee or
agent responsible for the delivery of this message to the intended
recipient(s), you are hereby notified that any disclosure, copying,
distribution, or use of this email message is prohibited. If you have
received this message in error, please notify the sender immediately by
e-mail and delete this email message from your computer. Thank you.