🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Wenshui Gan Thu, 07 Mar 1996 00:00
[Q] Problem setting LOCALTIMEFMT in trn
#19763
Author: Wenshui Gan
Date: Thu, 07 Mar 1996 00:00
25 lines
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. 

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads