7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a project tree like that.
after running find command with the -no -empty option, i am able to have a list of non empty directory
DO_MY_SEARCH="find . -type d -not -empty -print0"
MY_EXCLUDE_DIR1=" -e NOT_IN_USE -e RTMAP -e NOT_USEFULL "
echo " " > $MY_TEMP_RESULT_1
while... (2 Replies)
Discussion started by: jcdole
2 Replies
2. News, Links, Events and Announcements
A new project was posted on your project board.
Project title: Bash Shell Tutoring
Estimated Budget:
$50/hr
Start date:
Immediately
Required skills:
Linux, Bash, Shell, UNIX
I work as a datawarehouse designer and developer.
Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies
3. Solaris
i have two doubts..
1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so?
2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies
4. UNIX for Dummies Questions & Answers
Is there any way to make netstat output the information in a more human readable format? even if it's not exact? I don't even care if it has to round up/down to the nearest Meg to make it work.
I wind up having to stare at netstat running for while and I wish I could get it to output things in a... (10 Replies)
Discussion started by: MrEddy
10 Replies
5. Shell Programming and Scripting
Hi
I have a command which returns a timezone, Ej:
root@bsades2: /usr/local/bin # lsuser -a time_last_login israel
israel time_last_login=1279032223
Question: I want to parse this timezone '1279032223' into a 'martes, 13 de julio de 2010 16:43:43' from the ksh shell. Is itt possible?
... (3 Replies)
Discussion started by: iga3725
3 Replies
6. Programming
Dear Gurus,
I have encountered a C question, which I thought of sharing with you.
This question was asked by one of my technical training staff...Though my training was over I'm still thinking of a solution for this..
Write a C program to do a small task(lets say just simply printing a "Hello... (34 Replies)
Discussion started by: vrk1219
34 Replies
7. Solaris
We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies
Human(3pm) User Contributed Perl Documentation Human(3pm)
NAME
Time::Human - Convert localtime() format to "speaking clock" time
SYNOPSIS
use Time::Human;
print "The time is now ", humanize(localtime());
DESCRIPTION
This module provides a "vague" rendering of the time into natural language; it's originally intended for text-to-speech applications and
other speech-based interfaces.
It's fully internationalised: if you look at the code, you'll see a global variable called %Time::Human::templates, which you can fill in
for other languages. If you do multinationalise it, please send me templates for other languages to be added to future releases. You can
set the default language via the global variable $Time::Human::Language
$Time::Human::Evening and $Time::Human::Night decide the hours at which afternoon turns to evening and evening turns to night in your cul-
ture. For instance, Greeks may want evening to start at 11pm; for hackers, evening may start at 3am.
USAGE
Import Parameters
This module accepts no arguments to it's "import" method (actually, it doesn't
even have an import "method").
Exports
This module exports a single symbols, the "humanize" function.
CREDITS
Simon Cozens (SIMON) for originally creating this module.
Ricardo SIGNES (RJBS) for being inhumanly patient in waiting for me to apply a one line whitespace trimming patch.
Everyone at the DateTime "Asylum".
SUPPORT
Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details
AUTHOR
Simon Cozens, "simon@cpan.org"
CURRENT MAINTAINER
Joshua Hoblitt, "jhoblitt@cpan.org"
COPYRIGHT
Copyright (C) 2006-2007 Joshua Hoblitt. All rights reserved. Copyright (C) 2001-2002(???) Simon Cozens.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module, or in perlartistic and perlgpl Pods as supplied
with Perl 5.8.1 and later.
SEE ALSO
DateTime, DateTime::Format::Human
perl v5.8.8 2007-07-30 Human(3pm)