Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pplearnunix46

    Grep Command help

    Hi All, I have a set of files with naming convention as filename.sh and filename_d.sh Among these I am searching a pattern within the script where INSERT statement is used with _D as a tablename. But I dont want to display the filenames with filename_d.sh . I am trying grep by negating it with...
  2. pplearnunix46

    How to add 15 mins to the date format mentioned below

    Thank you. I will go through the documentation. but one last q, whats the logic behind below 2 lines. dat=${1:0:8} tim=${1:(-6):4} Thanks.
  3. pplearnunix46

    How to add 15 mins to the date format mentioned below

    Hi Dioid, Thank u so much. I am new to unix shell scripting and I did whatever you told and it worked. I got the exact output that I was expecting :) One more request for u, can u pls explain each line in script if u r ok with that. Sorry I am new so I am not getting it. Thanks.
  4. pplearnunix46

    How to add 15 mins to the date format mentioned below

    Thanks Dioid :) Now when I have got the dates. I want to pass this in another shell script , it should take each date as an argument and run and pass next date until the dates in the list are done. For Ex: nohup Shellscript 20150110000000 & once this completes nohup Shellscript 20150110001500...
  5. pplearnunix46

    How to add 15 mins to the date format mentioned below

    I am passing these dates as parameters to shell script. When i pass start date and end date, it should get me all the dates and those dates will be in turn passed to another shell script one by one. So I just need to know how can I get all the dates as mentioned with 15 mins difference. Is there...
  6. pplearnunix46

    How to add 15 mins to the date format mentioned below

    Hi Friends, I have a requirement like I need to add 15 mins to particular date format in a loop. For Ex: If I pass start date as 20150110000000 and end date as 20150111001500, I should get all the dates as mentioned below adding 15 mins to the date. 20150110000000(Jan 10,2015 00:00:00)...

Part and Inventory Search

Back
Top