Article View: news.software.readers
Article #19763[Q] Problem setting LOCALTIMEFMT in trn
From: Wenshui Gan
Date: Thu, 07 Mar 1996 00:00
Date: Thu, 07 Mar 1996 00:00
25 lines
1360 bytes
1360 bytes
I am trying to archive articles from a news group by running the "trnkill" script found in the trn-faq. I setup a kill file with the line /^/:s %p/%C%`date`:j My intention is to run the script (eventually in a cron tab) and save all the articles in the group to a file named after the group-name plus the date in yymmdd format. To do this I put a line -ELOCALTIMEFMT="%y%m%d" in my .trninit file. I also modified the "trnkill" script so that TRNINIT pointed to .trninit. When I ran the script I found that the output of "date" was not in the format I wanted. I tried to change LOCALTIMEFMT to other format but the result was still the same. Can anybody point out what went wrong? Thanks in advance. Wenshui Gan wnsgan@cco.caltech.edu When I ran the script at the prompt nothing was saved.
Technical Details
Message-ID:
<4hnc6k$kkl@gap.cco.caltech.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <4hnc6k$kkl@gap.cco.caltech.edu> Subject: [Q] Problem setting LOCALTIMEFMT in trn Date: Thu, 07 Mar 1996 00:00:00 +0000 From: wnsgan@cco.caltech.edu (Wenshui Gan) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 142141493 Organization: California Institute of Technology, Pasadena Newsgroups: news.software.readers