Robert Citek
2013-03-17 05:17:54 UTC
X-Received: by 10.49.4.68 with SMTP id i4mr958849qei.15.1363497474784;
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
X-BeenThere: ***@googlegroups.com
Received: by 10.49.35.73 with SMTP id f9ls923335qej.27.gmail; Sat, 16 Mar 2013
22:17:54 -0700 (PDT)
X-Received: by 10.224.17.140 with SMTP id s12mr8098136qaa.3.1363497474538;
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54])
by gmr-mx.google.com with ESMTPS id x1si531502qci.2.2013.03.16.22.17.54
(version=TLSv1 cipherìDHE-RSA-RC4-SHA bits8/128);
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of ***@gmail.com designates 209.85.216.54 as permitted sender) client-ip 9.85.216.54;
Received: by mail-qa0-f54.google.com with SMTP id hg5so1066358qab.13
for <***@googlegroups.com>; Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
X-Received: by 10.49.17.198 with SMTP id q6mr15573615qed.40.1363497474452;
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
Received: by 10.49.71.105 with HTTP; Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
X-Original-Sender: ***@gmail.com
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass
(google.com: domain of ***@gmail.com designates 209.85.216.54 as
permitted sender) smtp.mail=***@gmail.com; dkim=pass header.i=@gmail.com
Precedence: list
Mailing-list: list ***@googlegroups.com; contact cwelug+***@googlegroups.com
List-ID: <cwelug.googlegroups.com>
X-Google-Group-Id: 960259670415
List-Post: <http://groups.google.com/group/cwelug/post?hl=en>, <mailto:***@googlegroups.com>
List-Help: <http://groups.google.com/support/?hl=en>, <mailto:cwelug+***@googlegroups.com>
List-Archive: <http://groups.google.com/group/cwelug?hl=en>
Sender: ***@googlegroups.com
List-Unsubscribe: <http://groups.google.com/group/cwelug/subscribe?hl=en>, <mailto:googlegroups-manage+960259670415+***@googlegroups.com>
Archived-At: <http://permalink.gmane.org/gmane.org.user-groups.linux.cwelug/8633>
I am curious to know what people think is the most poorly written man page?
My nomination is for 'date(1)'.
I spent quite some time Googling how to convert Unix epoch time
(seconds) to "readable" format. The solution was this:
$ date --date=@1363483846
Sat Mar 16 21:30:46 EDT 2013
Give the very sparse, cryptic description for the -d option, how does
one make the leap to use @seconds for STRING?
-d, --date=STRING
display time described by STRING, not ‘now’
Not only is this this description cryptic, but it obscures one of the
most useful features for using the date command: date calculations.
For example, the warranty on one of our systems expires in 378 days.
What date is that?
today=$(date +%s)
days=$(( 378*24*60*60 ))
future=$(( $today + $days ))
date --date=@${future}
--
--
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: ***@googlegroups.com
To subscribe: cwelug-***@googlegroups.com
To unsubscribe: cwelug-***@googlegroups.com
More options: http://groups.google.com/group/cwelug
---
You received this message because you are subscribed to the Google Groups "Central West End Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cwelug+***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
X-BeenThere: ***@googlegroups.com
Received: by 10.49.35.73 with SMTP id f9ls923335qej.27.gmail; Sat, 16 Mar 2013
22:17:54 -0700 (PDT)
X-Received: by 10.224.17.140 with SMTP id s12mr8098136qaa.3.1363497474538;
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54])
by gmr-mx.google.com with ESMTPS id x1si531502qci.2.2013.03.16.22.17.54
(version=TLSv1 cipherìDHE-RSA-RC4-SHA bits8/128);
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of ***@gmail.com designates 209.85.216.54 as permitted sender) client-ip 9.85.216.54;
Received: by mail-qa0-f54.google.com with SMTP id hg5so1066358qab.13
for <***@googlegroups.com>; Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
X-Received: by 10.49.17.198 with SMTP id q6mr15573615qed.40.1363497474452;
Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
Received: by 10.49.71.105 with HTTP; Sat, 16 Mar 2013 22:17:54 -0700 (PDT)
X-Original-Sender: ***@gmail.com
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass
(google.com: domain of ***@gmail.com designates 209.85.216.54 as
permitted sender) smtp.mail=***@gmail.com; dkim=pass header.i=@gmail.com
Precedence: list
Mailing-list: list ***@googlegroups.com; contact cwelug+***@googlegroups.com
List-ID: <cwelug.googlegroups.com>
X-Google-Group-Id: 960259670415
List-Post: <http://groups.google.com/group/cwelug/post?hl=en>, <mailto:***@googlegroups.com>
List-Help: <http://groups.google.com/support/?hl=en>, <mailto:cwelug+***@googlegroups.com>
List-Archive: <http://groups.google.com/group/cwelug?hl=en>
Sender: ***@googlegroups.com
List-Unsubscribe: <http://groups.google.com/group/cwelug/subscribe?hl=en>, <mailto:googlegroups-manage+960259670415+***@googlegroups.com>
Archived-At: <http://permalink.gmane.org/gmane.org.user-groups.linux.cwelug/8633>
I am curious to know what people think is the most poorly written man page?
My nomination is for 'date(1)'.
I spent quite some time Googling how to convert Unix epoch time
(seconds) to "readable" format. The solution was this:
$ date --date=@1363483846
Sat Mar 16 21:30:46 EDT 2013
Give the very sparse, cryptic description for the -d option, how does
one make the leap to use @seconds for STRING?
-d, --date=STRING
display time described by STRING, not ‘now’
Not only is this this description cryptic, but it obscures one of the
most useful features for using the date command: date calculations.
For example, the warranty on one of our systems expires in 378 days.
What date is that?
today=$(date +%s)
days=$(( 378*24*60*60 ))
future=$(( $today + $days ))
date --date=@${future}
--
--
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: ***@googlegroups.com
To subscribe: cwelug-***@googlegroups.com
To unsubscribe: cwelug-***@googlegroups.com
More options: http://groups.google.com/group/cwelug
---
You received this message because you are subscribed to the Google Groups "Central West End Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cwelug+***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.