I have a date that looks like this:
2008/100:18:40:47.040
I need it to look like this:
2008 04 09 18 40 47 040
I have looked at datecalc and it doesn't seem like it takes the day of year for this year (or whatever year is input) and converts it into month and day. It also has to account... (2 Replies)
Hi Im trying to concatenate a specific file from each day in a year/month/day folder structure using Bash or equivalent. The file structure ends up like this:
2009/01/01/products
2009/01/02/products
....
2009/12/31/products
The file I need is in products everyday and I need the script to... (3 Replies)
Hi,
I'm working on a Informix4gl module. I'm just trying to find out any built-in function to fetch only the year/month from an INTERVAL YEAR TO MONTH data value.
Please let me know, if there are any functions to do this. If not, let me know for any alternative solutions to attain this.
... (5 Replies)
Discussion started by: dvah
5 Replies
6. Forum Support Area for Unregistered Users & Account Problems
So why does the password reset page tell me I've answered the question incorrectly?
First, I tried to register. Never received an email. So I tried to register with a different email/username. I was told it was taken. I tried to have a password sent to my email, but June is not the 6th month... (1 Reply)
I have created this program to get the next month and year. Is there a simpler way.
#!/bin/ksh
string=`cat Date.txt`
year=`echo $string | cut -c 1-4`
month=`echo $string | cut -c 5-6`
echo $year$month
mon=`expr $month + 1`
if ; then
mon=0$mon
echo $mon
fi
if ; then
month=01
... (2 Replies)
Hi All,
I find all files for same month and year
lets say there are following files in directory
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 c.txt
-rwxr-xr-x 1 user userg 1596 Mar 21 2012 d.txt
-rwxr-xr-x 1 user userg 1596 Mar 22 2012 f.txt
-rwxr-xr-x 1... (8 Replies)
Hi All,
lets say there are following files in directory
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 a.txt
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 b.txt
-rwxr-xr-x 1 user userg 1596 Mar 22 2012 c.txt
-rwxr-xr-x 1 user userg 1596 Mar 24 2012 d.txt... (16 Replies)
Discussion started by: Makarand Dodmis
16 Replies
LEARN ABOUT FREEBSD
uhub
UHUB(1) General Commands Manual UHUB(1)NAME
uhub - a high performance ADC peer-to-peer hub
SYNOPSIS
uhub [options]
DESCRIPTION
uHub is a high performance peer-to-peer hub for the ADC network. Its low memory footprint allows it to handle several thousand users on
high-end servers, or a small private hub on embedded hardware.
OPTIONS -v Verbose mode, add more -v's for higher verbosity.
-q Quiet mode, if quiet mode is enabled no output or logs are made.
-f Fork uhub to background in order to run it as a daemon.
-l logfile
Log messages to the given logfile (default: stderr)
-L Log messages to syslog.
-c config
Specify configuration file (default: /etc/uhub/uhub.conf)
-C Check configuration files and return. Will print either
-s Show all configuration parameters. In a format that is compatible with the configuration files.
-S Show all non-default configuration parameters.
-h Show the help message.
-u user
Drop privileges and run as the given user.
-g group
Drop privileges and run with the given group permissions.
-V Show the version number
EXAMPLES
To run uhub as a daemon, and log to a file:
uhub -f -l /var/log/uhub/uhub.log
AUTHOR
This program was written by Jan Vidar Krey <janvidar@extatic.org>
BUG REPORTS
If you find a bug in uhub please report it to http://bugs.extatic.org/
March 2009 UHUB(1)