Article View: news.software.readers
Article #158087Re: SLRN pipe
From: Black Dragon
Date: Tue, 09 Nov 2004 17:57
Date: Tue, 09 Nov 2004 17:57
32 lines
2007 bytes
2007 bytes
Whiskers wrote:
> On 2004-11-08, Black Dragon <bd@thedragons.lair> wrote:
>> Whiskers wrote:
>>> | cat >> ~/tmp/article
>>> saves the current article (including full headers) as the file specified
>>> (replacing any previous contents of that file). One > instead of two
>>> appends the article to the existing file.
>> Heads Up...
>> You have that backwards.
>> One ">" will create a new file if one doesn't exist or overwrite an
>> existing one.
>> Two ">>" will create a new file if one doesn't exist or append an existing
>> one.
> ummm ... well spotted ;)) I often get those confused.
Inadvertently clobber a few files you wanted to keep with the wrong
symbol, and the confusion will eventually go away. Been there, done
that. :-)
--
Black Dragon /"\ ASCII ribbon campaign
\ / against HTML mail and
Hell, rocket science isn't even rocket science. X postings.
A NASA Rocket Scientist; Undernet; circa 1996 / \
Technical Details
Message-ID:
<cmr0ed$2jib$1@bdhi.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.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.news2me.com!arclight.uoregon.edu!news.u.washington.edu!news.alt.net!usenetReferences:
<slrnco55ta.1ev.greymaus@darkstar.example.net> <63o462-nos.ln1@don.localnet> <99v462-dm2.ln1@ID-107770.user.uni-berlin.de> <cmooli$15n4$1@bdhi.net> <u4e562-of2.ln1@ID-107770.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <cmr0ed$2jib$1@bdhi.net> Subject: Re: SLRN pipe Date: Tue, 09 Nov 2004 17:57:33 +0000 From: Black Dragon <bd@thedragons.lair> References: <slrnco55ta.1ev.greymaus@darkstar.example.net> <63o462-nos.ln1@don.localnet> <99v462-dm2.ln1@ID-107770.user.uni-berlin.de> <cmooli$15n4$1@bdhi.net> <u4e562-of2.ln1@ID-107770.user.uni-berlin.de> 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.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.news2me.com!arclight.uoregon.edu!news.u.washington.edu!news.alt.net!usenet Newsgroups: news.software.readers Organization: Black Dragon Heavy Industries Lines: 32 X-No-Archive: yes User-Agent: slrn/0.9.8.0 (FreeBSD)