Article View: news.software.readers
Article #180240Re: [slrn] interpolating a date in save_posts and save_replies
From: Peter J Ross
Date: Mon, 06 Feb 2006 19:24
Date: Mon, 06 Feb 2006 19:24
41 lines
2536 bytes
2536 bytes
On 6 Feb 2006 15:50:52 GMT, Jeff_?elf <Me@Privacy.NET> wrote in
news.software.readers:
> Hi Adam_Funk,
>
> You said you wanted to save off copies of your posts to files like:
>
> ~/.slrn/20060203.sent.news
>
> First off...
> You realize, of course, that the OS can sort by more than just the file name,
> it can also sort by the created or modified dates.
> In Win_XP, it's one click on a column heading to change the sorting.
>
> So calling it _Feb_3_2006_.News would be much more reasonable, I think.
Not if one wishes to conform to ISO 8601 format, for any one of
several good reasons. However, Adam can have almost any format he
likes with the *nix "date" command, and probably with the functions in
Troy's macro too.
$ date +_%b_%-d_%Y_
_Feb_6_2006_
<snip>
PJR :-)
--
Have you been touched ___ ___ Hammer of Thor, Jan 2006
by His noodly / _ \ / _ \
appendage? ( (_) )( (_) ) Pierre Salinger Memorial
\_ _/ \_ _/ Hook, Line & Sinker, Dec
STOP GLOBAL __ _.-\\----//--._ 2003 & May 2005
WARMING _ / _\___.-'/ _| / _\ /\/\`-._.-.__ _
NOW, (_\_)| \___ ||_ ((_ //\/\\ _.-._ \-' ) AHM Wittiest
JIM LAD! \__) __) | _| _) ) || || (_ \_.-' Troll of the
/_-. || \_/ || .-'-.\ Year, 2003
http:// _._// / .--._______.-'\ \ \\__._ 2004 & 2005
www. /_._/ \ \ )) \__._)
venganza (/ _.-') ( `-._ wsd 42 ~ mhm 34x8
.org/ (_.-' :F_P: `--._) smeeter 30 ~ mwpl 12
Technical Details
Message-ID:
<slrnduf8ld.8oh.pjr@nntp.petitmorte.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.alt.net!nntp.petitmorte.net!newsReferences:
<73pbb3-uk6.ln1@news.ducksburg.com> <Jeff_Relf_2006_Feb_6_yWDv@Cotse.NET>Show Full Headers
Complete Article Headers
Message-ID: <slrnduf8ld.8oh.pjr@nntp.petitmorte.net> Subject: Re: [slrn] interpolating a date in save_posts and save_replies Date: Mon, 6 Feb 2006 19:24:08 +0000 From: Peter J Ross <pjr@kookbusters.org> References: <73pbb3-uk6.ln1@news.ducksburg.com> <Jeff_Relf_2006_Feb_6_yWDv@Cotse.NET> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.alt.net!nntp.petitmorte.net!news Newsgroups: news.software.readers Organization: Cabal Obsidian Order [TINCOO] Lines: 41 X-Operating-System: Debian GNU/Linux (Sid/Unstable) X-Kernel: Linux 2.6.15-1-686 User-Agent: slrn/0.9.8.1pl1 (Debian)