Article View: news.software.readers
Article #8968Re: TRN: auto compression, encryption?
From: Wayne Davison
Date: Tue, 10 May 1994 20:59
Date: Tue, 10 May 1994 20:59
26 lines
1566 bytes
1566 bytes
According to Thomas N. Mackey <tomm@halcyon.halcyon.com>: > I would like trn to look at the filename I am saving an article into, see > if such filename.Z exists, and if so, uncompress the original file, append > the article, and then run compress on the file. You need to modify the "norm.saver" script. You can create your own version and set the NORMSAVER environment variable to reference it (see the -E option to set it via your .trninit file). The file should contain enough information for you to tweak it if you're familiar with shell programming. If you're not, try something like the following (untested): if test -f $7.Z; then uncompress $7 recomp="compress $7" else recomp='' fi [The existing (...sub shell stuff...) >> $7 goes here] if test -n "$recomp"; then eval $recomp fi -- Wayne Davison davison@borland.com
Technical Details
Message-ID:
<CpLuBI.Cr5@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davisonReferences:
<2qm2jj$6kn@nwfocus.wa.com>Show Full Headers
Complete Article Headers
Message-ID: <CpLuBI.Cr5@borland.com> Subject: Re: TRN: auto compression, encryption? Date: Tue, 10 May 1994 20:59:41 GMT From: davison@borland.com (Wayne Davison) References: <2qm2jj$6kn@nwfocus.wa.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison Newsgroups: news.software.readers Organization: Borland International Lines: 26