🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #158091

Re: SLRN pipe

#158091
From: Whiskers
Date: Tue, 09 Nov 2004 20:09
35 lines
2305 bytes
On 2004-11-09, Black Dragon <bd@thedragons.lair> wrote:
> 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. :-)

I always do a trial run before using any command for real - and tricky ones 
get put into scripts or batch-files if I need them often.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <fok762-rk2.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.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
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> <cmr0ed$2jib$1@bdhi.net>

Show Full Headers
Complete Article Headers
Message-ID: <fok762-rk2.ln1@ID-107770.user.uni-berlin.de>
Subject: Re: SLRN pipe
Date: Tue, 9 Nov 2004 20:09:19 +0000
From: Whiskers <catwheezel@operamail.com>
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> <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.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 35
X-Trace: news.uni-berlin.de 3mQ2O3chvo9HhbKLLyVT3gE8pmYVpDtsSTDaaZiGBTmxkLXwlU
X-Orig-Path: ID-107770.user.uni-berlin.de!news
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.0 (Linux)