09-26-2012
SOLVED
thanks alot
xxx
i love this forum!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello gurus,
i want a perl/shell script which once invoked should convert a set of EPOCH timestamps to local time ( IST..i want) .
how does it work ,i have an idea on that..but writing a perl/shell script for it is not possible for me...so i need help for the same.
my exact requirement is... (2 Replies)
Discussion started by: abhijeetkul
2 Replies
2. Shell Programming and Scripting
Having been a long-time csh person I now need to convert a lot of stuff to run under ksh. Can anyone tell me how to do a ksh equivalent of the csh history substitution !* that can be used in an alias, ie how would I do:
alias cd "cd \!*; pwd"
alias find "find . -name... (2 Replies)
Discussion started by: jonnywilkins
2 Replies
3. Shell Programming and Scripting
Hi,
1st post...
Done a quick search for this so apologies if I've missed it.
Basically I want to output and and append several values generated by a csh script direct to an xls openoffice file, rather than send to txt file and then physically copy and paste to xls file.
Already I send... (4 Replies)
Discussion started by: scottyjock
4 Replies
4. Shell Programming and Scripting
Hello all. I'm a long time browser, first time poster...Be gentle :-)
I don't use csh much, but have been asked to make a small script for our HP-UX systems to search for a report file(s) or summary file and display the result (I was using vuepad, but this probably is just
complicating... (4 Replies)
Discussion started by: neillsm
4 Replies
5. Shell Programming and Scripting
Can someone tell me why I'm getting error when I try to run this?
#!/bin/csh -f
source ~/.cshrc
#
set SQLPLUS = ${ORACLE_HOME}/bin/sqlplus
#
set count=`$SQLPLUS -s ${DB_LOGIN} << END
select count(1) from put_groups where group_name='PC' and description='EOD_EVENT' and serial_number=1;... (7 Replies)
Discussion started by: gregrobinsonhd
7 Replies
6. Shell Programming and Scripting
I need to convert an epoch time from a file into a standard UTC time and output it in the same format but I'm not sure what's the best approach
here's the input file and the bold part is what I need to convert.
1,1,"sys1",60,300000
2,"E:",286511144960
3,1251194521,"E:",0,0... (2 Replies)
Discussion started by: satchy321
2 Replies
7. Shell Programming and Scripting
I am trying get time difference of two dates in secs. Initially I want to convert a standard date format to epoch for two dates and then subtract the two epoch dates.
Example :
date -d "2007-09-01 17:30:40" '+%s'
But this gives me below error
date: illegal option -- d
Usage: date
OS: AIX... (6 Replies)
Discussion started by: bpaac
6 Replies
8. Shell Programming and Scripting
Hi All,
Please read the below data carefully.
I need an unix command for converting unix timestamp to Epoch timestamp.
I need to daily convert this today's unix(UTC) time to epoch time, so i am thinking to make a shellscript for this.
Please help me for this by providing... (3 Replies)
Discussion started by: aish11
3 Replies
9. Shell Programming and Scripting
Hi there
I came across this script online to convert Epoch time to proper date format, but I am receiving the following error
Also, I have HISTTIMEFORMAT set in user's .profile so that their history output shows time stamps. Additionally I have changed their .history location to a dedicated... (9 Replies)
Discussion started by: hedkandi
9 Replies
10. Programming
Hi. I have timestamps that I am trying to convert to epoch time. An example:
I am trying to convert this to an epoch timestamp but have one little glitch. I have this:
import time
date_time = ''
pattern = ''
epoch = int(time.mktime(time.strptime(date_time, pattern)))
print epoch... (1 Reply)
Discussion started by: treesloth
1 Replies
LEARN ABOUT DEBIAN
lurker-search
LURKER-SEARCH(1) General Commands Manual LURKER-SEARCH(1)
NAME
lurker-search -- searches for messages in a lurker database
SYNOPSIS
lurker-search [-c <config-file>] [-k <keyword>] [-d -f -i -v -q] [<terms>*]
DESCRIPTION
lurker-search searches a lurker database the same way as the web interface. It can output summary information and delete messages.
OPTIONS
-c config-file
Use this config file for lurker settings.
-k keyword
Tag the matching messages with this keyword.
-d Delete the messages found by this search
-f Don't prompt before deleting
-i Command line paramers are not search terms, but message IDs.
-v Output message summary information
-q Don't output message ids or status
SEARCH TERMS
Lurker-search accepts these keywords for searching:
-xxx select messages which do NOT match this term
id:xxx select a message by the Message-ID field
rt:xxx select messages which reply to the chosen Message-ID
th:xxx select messages included in this thread
ml:xxx select messages in this mailing list
gr:xxx select messages in this mailing list group
au:xxx select messages with this term in the author fields
sb:xxx select messages with this word in the subject
lang:xxx select messages in this language
SEE ALSO
lurker-index(1), lurker-prune(1), lurker-params(1), lurker-list(1)
lurker documentation on http://lurker.sourceforge.net/
COPYRIGHT
Copyright (C) 2002: Wesley W. Terpstra <terpstra@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
BUGS
Before reporting a bug, please confirm that the bug you found is still present in the latest official release. If the problem persists,
then send mail with instructions describing how to reproduce the bug to <lurker-users@lists.sourceforge.net>.
LURKER-SEARCH(1)