Package: coreutils
Version: 5.2.1-2
Severity: wishlist
Tags: patch

Hello,

thanks for packaging coreutils.

It's always tricky with date to work with timestamps, especially to have
it parse them.  An EXAMPLES section in the manpage could help; this is a
proposal:

--- date.1      2005-08-06 17:32:59.000000000 +0200
+++ date.1.enrico       2005-08-06 17:34:59.720187776 +0200
@@ -178,6 +178,14 @@
 .IP
 `-' (hyphen) do not pad the field
 `_' (underscore) pad the field with spaces
+.SH EXAMPLES
+.nf
+ # Print the current date as unix timestamp
+ date +%s
+
+ # Parse a unix timestamp
+ date -d "01/01/1970 1123341579 seconds GMT"
+.fi
 .SH AUTHOR
 Written by David MacKenzie.
 .SH "REPORTING BUGS"



Ciao,

Enrico

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                     2.2.29-1.0.1 Access control list shared library
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

coreutils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to