I know there are some posts on getting the time with milliseconds included and I realize unix may not be the best on this.
I have seem some posts where its advised to install the GNU date.
Any one know where I can download this as I am struggling to find it.
Alternatively - if you have... (5 Replies)
Should work in any shell, but requires GNU date, although GNU date seems only to be happy for input dates between 1902 and 2037, inclusive (49673 days).
Assume $a and $b hold two dates, e.g.
set a=2010-03-27
set b=2010-04-04
Marginally faster:
iterator: seq -f "$a +%1.0f days" 1 50000 |... (0 Replies)
Dear all,
This should be simple but I cannot figure it out despite reading all the man pages. Could someone please help me translate this code (GNU date) to one that can be read by BSD date?:
myDate=$(date -d "$h -$l days" +%Y/%m/%d),
where h is a variable of the form DD/MM/YYYY, and l is... (3 Replies)
It's easy as pie to get the date minus one day on opensolaris:
date -d "-1 day" +"%Y%m%d"run this command on our crappy Solaris 10 machines however (which I'm guessing doesn't have GNU date running on it) and you get:
date: illegal option -- d
date: illegal option -- 1
date: illegal option --... (5 Replies)
Dear all,
I have 2 questions.
I have a file with many rows which has date of the format YYYYMMDD.
1. I need to change the date to that weeks friday date(Ex: 20120716(monday) to 20120720). Satuday/Sunday has to be changed to next week friday date too.
2. After converting the date to... (10 Replies)
Why is the result of this command off (or less) by one hour
date --date "1979-10-26 +54 hours" +%Y%m%d%H
The result is
1979102805
It actually should be
1979102806
It does it with adding minutes as well and only occurs on Oct. 26, from what I can tell. What's going on here? (9 Replies)
Hello All,
Greetings all !!
I have a query here, following are the points on same(Adding today's is 31st August 2016 for future reference).
1st Scenario: So while doing some work on GNU date, I wanted to check what was the month(in numbers) by GNU date so I have done following.
date... (2 Replies)
i try to set linux date & time in specific format but it keep giving me error
Example :
date "+%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:01"
or
date +"%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:01"
keep giving me this error :
date: invalid date ‘19-01-2017 00:05:01'
Please use CODE tags... (7 Replies)
Discussion started by: umen
7 Replies
LEARN ABOUT DEBIAN
dh_bugfiles
DH_BUGFILES(1) Debhelper DH_BUGFILES(1)NAME
dh_bugfiles - install bug reporting customization files into package build directories
SYNOPSIS
dh_bugfiles [-A] [debhelperoptions]
DESCRIPTION
dh_bugfiles is a debhelper program that is responsible for installing bug reporting customization files (bug scripts and/or bug control
files and/or presubj files) into package build directories.
FILES
debian/package.bug-script
This is the script to be run by the bug reporting program for generating a bug report template. This file is installed as
usr/share/bug/package in the package build directory if no other types of bug reporting customization files are going to be installed
for the package in question. Otherwise, this file is installed as usr/share/bug/package/script. Finally, the installed script is given
execute permissions.
debian/package.bug-control
It is the bug control file containing some directions for the bug reporting tool. This file is installed as
usr/share/bug/package/control in the package build directory.
debian/package.bug-presubj
The contents of this file are displayed to the user by the bug reporting tool before allowing the user to write a bug report on the
package to the Debian Bug Tracking System. This file is installed as usr/share/bug/package/presubj in the package build directory.
OPTIONS -A, --all
Install debian/bug-* files to ALL packages acted on when respective debian/package.bug-* files do not exist. Normally, debian/bug-*
will be installed to the first package only.
SEE ALSO
/usr/share/doc/reportbug/README.developers.gz
debhelper(1)
This program is a part of debhelper.
AUTHOR
Modestas Vainius <modestas@vainius.eu>
9.20120909 2011-09-12 DH_BUGFILES(1)