08-13-2018
It is a privilege working with all of you here and I'm very happy to be honored in this way. I'm glad that my contributions seem to help many of our members find ways to get things done and learn a little bit more about some of the tools we use every day as we continue reading in our great forum. I know that I learn a lot from many of you every day as we continue our journey.
RudiC and I both managed to hit the 4000 thanks mark in a little less than 6 years of membership, but RudiC has been garnering thanks a lot faster than I have been for the last few months. (Well done RudiC!)
These 4 Users Gave Thanks to Don Cragun For This Post:
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I am using a Quantum DLT 4000 tape drive on a PowerMac G4 with OS 10.1.5
I'd like to use the Terminal application, which is based on BSD 4.4, to see the tape drive and write backup tapes to it.
First, is there a way to list all the devices attached to the computer? And secondly, is there a way... (0 Replies)
Discussion started by: derekc132002
0 Replies
2. UNIX for Advanced & Expert Users
Good day,
I do have a HP-UX B.11.31 U ia64 machine.
If I check top a proces called sfmdb is high in use en cpu. It is a postgres-command.
Full name is System Fault Management. Google gives an option to restart it in: /sbin/init.d via sfmdb stop en start.
But if I now look on the machine I... (2 Replies)
Discussion started by: velde_van_der_a
2 Replies
3. Shell Programming and Scripting
Hi everybody!
I have a large comma separated text file. This file incluede some column which largest than 4000 character(this is not the last column). I tried with sed but i can't do it.
I would like to split to 4000 char this column.
Thank You for your help!
for example: (5 Replies)
Discussion started by: snayper
5 Replies
4. Programming
In my objective-c code base I have several NSLog statements.
eg.
NSLog(@"Here is the message without arguments");
NSLog(@"Here is the message with arguments: %s, %s","argument1","argument2");
Now I want to do two things:
First to do: updating NSLog statements with... (0 Replies)
Discussion started by: Miraaj
0 Replies
5. What is on Your Mind?
Hello All,
Let's join our hands together to appreciate Corona688 for completing and reaching to the landmark of 4000+ THANKS. I do want to appreciate Corona688 on behalf of everyone here in forum for Corona688's continuous effort of posting very useful, full of experience and knowledge posts in... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies
6. What is on Your Mind?
Congratulations.
Nice one RudiC. That is some going, well done!
Bazza. (8 Replies)
Discussion started by: wisecracker
8 Replies
7. What is on Your Mind?
Hello All forum members,
I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b:
@Rudi sir,
How are you sir?
you ROCK, please keep up the great work sir :b:
... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
8. What is on Your Mind?
Just noticed that our successful computer trivia feature (stats here) has surpassed over 50,000 questions answered by users:
https://www.unix.com/trivia_stats.php
This was a coding effort worth while and I'm pleased to see so many people enjoying it in such a short time since it was released... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT SUSE
time::seconds
Time::Seconds(3pm) Perl Programmers Reference Guide Time::Seconds(3pm)
NAME
Time::Seconds - a simple API to convert seconds to other date values
SYNOPSIS
use Time::Piece;
use Time::Seconds;
my $t = localtime;
$t += ONE_DAY;
my $t2 = localtime;
my $s = $t - $t2;
print "Difference is: ", $s->days, "
";
DESCRIPTION
This module is part of the Time::Piece distribution. It allows the user to find out the number of minutes, hours, days, weeks or years in a
given number of seconds. It is returned by Time::Piece when you delta two Time::Piece objects.
Time::Seconds also exports the following constants:
ONE_DAY
ONE_WEEK
ONE_HOUR
ONE_MINUTE
ONE_MONTH
ONE_YEAR
ONE_FINANCIAL_MONTH
LEAP_YEAR
NON_LEAP_YEAR
Since perl does not (yet?) support constant objects, these constants are in seconds only, so you cannot, for example, do this: "print
ONE_WEEK->minutes;"
METHODS
The following methods are available:
my $val = Time::Seconds->new(SECONDS)
$val->seconds;
$val->minutes;
$val->hours;
$val->days;
$val->weeks;
$val->months;
$val->financial_months; # 30 days
$val->years;
The methods make the assumption that there are 24 hours in a day, 7 days in a week, 365.24225 days in a year and 12 months in a year.
(from The Calendar FAQ at http://www.tondering.dk/claus/calendar.html)
AUTHOR
Matt Sergeant, matt@sergeant.org
Tobias Brox, tobiasb@tobiasb.funcom.com
BalieXXzs SzabieXX (dLux), dlux@kapu.hu
LICENSE
Please see Time::Piece for the license.
Bugs
Currently the methods aren't as efficient as they could be, for reasons of clarity. This is probably a bad idea.
perl v5.12.1 2010-04-26 Time::Seconds(3pm)