RE: shell script

RE: shell script

 

  


This is all I wrote. I thought it was simple, direct and obvious.
Everyone makes typos, and I pointed it out for the benefit of those you
were teaching. After all it was a pretty simple script.

touch ${FILENAME}_${DATE}

You seem to be overly touchy and defensive. The world is not out to
get you. So as to your question "Any thing else....... Mr. Joel?", the
answer is No, there was only that one thing. But thank you for asking
lokesha, athough the impression is that you are being less than
courteous.

So save your confrontational ways for those who strive to be warmongers.
It has no place in a discussion forum.

Did you want more... like #!/usr/bin/ksh might not be accurate on his
system. Or indeed UNIX is case sensitive, so it is FILENAME, not
'filename'... 'filename' again is a 'typo' is suppose.


Joel Patterson
Database Administrator
joel.[Email address protected]
x72546
904 727-2546

-----Original Message-----
From: lokesha
[mailto:oracledba-ezmlmshield-x67335124.[Email address protected]
Sent: Thursday, August 30, 2007 10:31 AM
To: LazyDBA Discussion
Subject: RE: shell script

It is a typo error. It should be 'filename'.
Any thing else....... Mr. Joel?


With Regards / Lokesha R.
ANDC, ITC Infotech India Limited,
Banaswadi Main Road, Bangalore - 560005.

Ph: 080-25490531 Extn:8328
Email: lokesha.[Email address protected]


-----Original Message-----
From: Joel [mailto:oracledba-ezmlmshield-x46034995.[Email address
protected]
Sent: Thursday, August 30, 2007 7:57 PM
To: LazyDBA Discussion
Subject: RE: shell script

I don't know exactly where your coming from, but my entry was to point
out
that you never defined JOBNAME. You defined FILENAME, and so you
should be using FILENAME. Take a second look at your code. Convention
has nothing to do with it.

Joel Patterson
Database Administrator
joel.[Email address protected]
x72546
904 727-2546

-----Original Message-----
From: lokesha
[mailto:oracledba-ezmlmshield-x82333185.[Email address protected]
Sent: Thursday, August 30, 2007 10:15 AM
To: LazyDBA Discussion
Subject: RE: shell script


touch $PATH/$DATE
Enough Ok. That is for naming convention...

With Regards / Lokesha R.


-----Original Message-----
From: Joel [mailto:oracledba-ezmlmshield-x88981480.[Email address
protected]
Sent: Thursday, August 30, 2007 7:41 PM
To: LazyDBA Discussion
Subject: RE: shell script

??

touch ${FILENAME}_${DATE}

Joel Patterson
Database Administrator
joel.[Email address protected]
x72546
904 727-2546

-----Original Message-----
From: lokesha
[mailto:oracledba-ezmlmshield-x54302529.[Email address protected]
Sent: Thursday, August 30, 2007 9:38 AM
To: LazyDBA Discussion
Subject: RE: shell script

Try this:
########################################################################
####
#

#!/usr/bin/ksh
export DATE=`date '+%d-%b-%Y'`
export FILENAME="sample"

touch ${JOBNAME}_${DATE}

########################################################################
####
#

With Regards / Lokesha R.
ANDC, ITC Infotech India Limited,
Banaswadi Main Road, Bangalore - 560005.

Ph: 080-25490531 Extn:8328
Email: lokesha.[Email address protected]


-----Original Message-----
From: Manish Sahay
[mailto:oracledba-ezmlmshield-x45879106.[Email address protected]
Sent: Thursday, August 30, 2007 6:57 PM
To: LazyDBA Discussion
Subject: shell script



Hi,

I need to create a shell script, where I need to create a file as per
sysdate and exit.

Can anyone help me out to achieve this?


Manish Kumar Sahay



A journey of a thousand miles begins with a single step." Make sure you
are
there and on time !!



========================================================================
====
================================================

Disclaimer:

This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahind
ra.c
om/Disclaimer.html</a> externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahind
ra.c
om/Disclaimer.html</a> internally within Tech Mahindra.

========================================================================
====
================================================


---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba
job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com To
unsubscribe: http://www.lazydba.com/unsubscribe.html





Disclaimer: This communication is for the exclusive use of the
intended
recipient(s) and shall not attach any liability on the originator or
ITC
Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group
Companies. If you are the addressee, the contents of this e-mail are
intended for your use only and it shall not be forwarded to any third
party, without first obtaining written authorization from the originator
or
ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its
Group
Companies. It may contain information which is confidential and legally
privileged and the same shall not be used or dealt with by any third
party in any manner whatsoever without the specific consent of ITC
Infotech India Ltd./ its Holding company/ its Subsidiaries/ its Group
Companies.



---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba
job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com To
unsubscribe: http://www.lazydba.com/unsubscribe.html




---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba
job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com To
unsubscribe: http://www.lazydba.com/unsubscribe.html





Disclaimer: This communication is for the exclusive use of the
intended
recipient(s) and shall not attach any liability on the originator or
ITC
Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group
Companies. If you are the addressee, the contents of this e-mail are
intended for your use only and it shall not be forwarded to any third
party, without first obtaining written authorization from the originator
or
ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its
Group
Companies. It may contain information which is confidential and legally
privileged and the same shall not be used or dealt with by any third
party in any manner whatsoever without the specific consent of ITC
Infotech India Ltd./ its Holding company/ its Subsidiaries/ its Group
Companies.



---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba
job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com To
unsubscribe: http://www.lazydba.com/unsubscribe.html




---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba
job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com To
unsubscribe: http://www.lazydba.com/unsubscribe.html





Disclaimer: This communication is for the exclusive use of the
intended recipient(s) and shall not attach any liability on the
originator or ITC Infotech India Ltd./its Holding company/ its
Subsidiaries/ its Group Companies. If you are the addressee, the
contents of this e-mail are intended for your use only and it shall not
be forwarded to any third party, without first obtaining written
authorization from the originator or ITC Infotech India Ltd./ its
Holding company/its Subsidiaries/ its Group Companies. It may contain
information which is confidential and legally privileged and the same
shall not be used or dealt with by any third party in any manner
whatsoever without the specific consent of ITC Infotech India Ltd./
its Holding company/ its Subsidiaries/ its Group Companies.



---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



Oracle LazyDBA home page