Package: devscripts
Version: 2.10.52
Severity: wishlist
Tags: patch
When using annotate-output for a long time it would be nice to also have the
date
in it, this trivial patch would add it, however I don't know if that might
break
scripts parsing the output of this one
--- annotate-output.old 2009-08-03 10:28:02.000000000 +0200
+++ annotate-output 2009-08-03 10:28:40.000000000 +0200
@@ -24,7 +24,7 @@
addtime ()
{
while read line; do
- echo "`date +%H:%M:%S` $1: $line"
+ echo "`date +%FT%H:%M:%S` $1: $line"
done
}
@@ -37,11 +37,11 @@
addtime O < $OUT &
addtime E < $ERR &
-echo "`date +%H:%M:%S` I: Started $@"
+echo "`date +%FT%H:%M:%S` I: Started $@"
"$@" > $OUT 2> $ERR ; EXIT=$?
rm -f $OUT $ERR
wait
-echo "`date +%H:%M:%S` I: Finished with exitcode $EXIT"
+echo "`date +%FT%H:%M:%S` I: Finished with exitcode $EXIT"
exit $EXIT
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
Not present
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.15.3.1 Debian package development tools
ii libc6 2.9-12 GNU C Library: Shared libraries
ii perl 5.10.0-24 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.10.2 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20081101cvs-2 A simple mail user agent
ii curl 7.19.5-1 Get a file from an HTTP, HTTPS or
ii dctrl-tools 2.13.1 Command-line tools to process Debi
ii debian-keyring 2009.05.28 GnuPG (and obsolete PGP) keys of D
ii debian-maintainers 1.64 GPG keys of Debian maintainers
ii dput 0.9.4 Debian package upload tool
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.12.4 Gives a fake root environment
ii git-core 1:1.6.3.3-2 fast, scalable, distributed revisi
ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep
ii iceweasel [www-bro 3.0.12-1 lightweight web browser based on M
ii konqueror [www-bro 4:4.2.4-1 KDE 4's advanced file manager, web
ii libauthen-sasl-per 2.12-1 Authen::SASL - SASL Authentication
ii libcrypt-ssleay-pe 0.57-1+b1 Support for https protocol in LWP
ii libparse-debcontro 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.710.08-2 Client and server side SOAP implem
ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii libwww-perl 5.829-1 WWW client/server library for Perl
ii libyaml-syck-perl 1.07-1 fast, lightweight YAML loader and
ii lintian 2.2.13 Debian package checker
ii lsb-release 3.2-22 Linux Standard Base version report
ii man-db 2.5.5-3 on-line manual pager
ii openssh-client [ss 1:5.1p1-6 secure shell client, an rlogin/rsh
ii patch 2.5.9-5 Apply a diff file to an original
ii patchutils 0.3.1-2 Utilities to work with patches
ii strace 4.5.17+cvs080723-2 A system call tracer
ii subversion 1.6.3dfsg-1 Advanced version control system
ii unzip 6.0-1 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-2.1 WWW browsable pager with excellent
ii wdiff 0.5-18 Compares two files word by word
ii wget 1.11.4-4 retrieves files from the web
Versions of packages devscripts suggests:
ii build-essential 11.4 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
ii gnuplot 4.2.5-2 A command-line driven interactive
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.20-2 text-based mailreader supporting M
pn svn-buildpackage <none> (no description available)
-- no debconf information
--
To unsubscribe, send mail to [email protected].